/// <summary> /// 隐藏厂区建筑物 /// </summary> private void HideFacotry() { FactoryDepManager manager = FactoryDepManager.Instance; if (manager) { manager.HideFacotry(); } }
///// <summary> ///// 载入机房 ///// </summary> ///// <param name="depNode"></param> ///// <param name="isFocusRoom"></param> ///// <param name="onComplete"></param> //public IEnumerator LoadRoomStartCoroutine(DepNode depNode, bool isFocusRoom = false, Action<FloorController> onComplete = null) //{ // if (depNode == null) // { // Debug.Log("RoomID is null..."); // yield break; // } // //SceneBackButton.Instance.Show(BackToBuilding); // HideFacotory(); // RoomCreate(depNode, isFocusRoom, onComplete); //} /// <summary> /// 隐藏当前建筑 /// </summary> private void HideFacotory() { FactoryDepManager depManager = FactoryDepManager.Instance; depManager.HideFacotry(); }