|
|
|
@ -55,6 +55,10 @@ public class UIFloor : BaseToggle
|
|
|
|
|
|
|
|
|
|
//CameraManager.Instance.initialTargetPosY = MyTarget.position.y; |
|
|
|
|
} |
|
|
|
|
if (!anyIsOn) |
|
|
|
|
{ |
|
|
|
|
floorsPanelManager.CurrentFloor.floorNum = 0; |
|
|
|
|
} |
|
|
|
|
if (isOn) |
|
|
|
|
{ |
|
|
|
|
if (MyChildFloors.Count > 0) |
|
|
|
@ -79,6 +83,7 @@ public class UIFloor : BaseToggle
|
|
|
|
|
item.gameObject.SetActive(false); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
floorsPanelManager.CurrentFloor.floorNum = 0; |
|
|
|
|
HideFloor(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|