示例#1
0
        public static void RemoveRoomPrefab()
        {
            //string roomName = Config.RoomObject.GameObjectName;
            string roomName = RoomManager.SyncRoomName();

            PrefabHandler.DeletePrefab(roomName);
        }
示例#2
0
        public static void InstantiateRoomPrefab()
        {
            string     roomName = RoomManager.SyncRoomName();
            GameObject room     = GameObject.Find(roomName);

            PrefabHandler.CreateRoomPrefab(room);
        }
示例#3
0
 public static void RemoveAllRoomPrefabs()
 {
     PrefabHandler.DeleteAllPrefabs();
 }
示例#4
0
 public static void InstantiateAllRoomPrefabs()
 {
     PrefabHandler.CreateAllRoomPrefabs();
 }