public static void RemoveRoomPrefab() { //string roomName = Config.RoomObject.GameObjectName; string roomName = RoomManager.SyncRoomName(); PrefabHandler.DeletePrefab(roomName); }
public static void InstantiateRoomPrefab() { string roomName = RoomManager.SyncRoomName(); GameObject room = GameObject.Find(roomName); PrefabHandler.CreateRoomPrefab(room); }
public static void RemoveAllRoomPrefabs() { PrefabHandler.DeleteAllPrefabs(); }
public static void InstantiateAllRoomPrefabs() { PrefabHandler.CreateAllRoomPrefabs(); }