/// <summary> /// 创建机房设备 /// </summary> public void CreateRoomDev(Action onDevCreateCompleteT = null) { try { if (ParentNode != null) { FloorController controller = ParentNode as FloorController; controller.CreateFloorDev(onDevCreateCompleteT); } } catch (Exception e) { Debug.LogError("RoomController.CreateRoomdev :" + e.ToString()); if (onDevCreateCompleteT != null) { onDevCreateCompleteT(); } } }