천장 오브젝트 복원 및 설비 시간 알람 로딩 바 추가
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user