천장 오브젝트 복원 및 설비 시간 알람 로딩 바 추가

This commit is contained in:
정영민
2025-03-25 16:07:18 +09:00
parent 6c89a57518
commit 7db641199a
16 changed files with 33731 additions and 159 deletions

View File

@@ -15,7 +15,7 @@ namespace CHN
public GameObject Outer;
public GameObject TopSurfaces;
public GameObject FloorGroundCollider;
//public GameObject Ceiling;
public GameObject Ceiling;
public GameObject VisualizationAreas;
Transform CeilingQuad;
@@ -33,9 +33,9 @@ namespace CHN
case nameof(FloorGroundCollider):
FloorGroundCollider = transform.GetChild(i).gameObject;
break;
//case nameof(Ceiling):
// Ceiling = transform.GetChild(i).gameObject;
// break;
case nameof(Ceiling):
Ceiling = transform.GetChild(i).gameObject;
break;
case nameof(VisualizationAreas):
VisualizationAreas = transform.GetChild(i).gameObject;
break;
@@ -62,14 +62,14 @@ namespace CHN
public void SetInternalState()
{
//Ceiling.SetActive(true);
Ceiling.SetActive(true);
TopSurfaces.SetActive(false);
}
public void SetExternalState()
{
TopSurfaces.SetActive(false);
//Ceiling.SetActive(false);
Ceiling.SetActive(false);
}
public void UnderCeilingControl(Vector3 pos)
@@ -77,9 +77,10 @@ namespace CHN
//if (Ceiling == null)
// return;
//float height = CeilingQuad.transform.position.y - ceilingActiveRange;
//float height = Ceiling.transform.position.y - ceilingActiveRange;
//bool isUnder = pos.y < height;
//Debug.Log(isUnder);
//Ceiling.SetActive(isUnder);
}
}