Deault implementation of Bolt.IPrefabPool which uses GameObject.Instantiate and GameObject.Destroy
More...
|
UE.GameObject | LoadPrefab (Bolt.PrefabId prefabId) |
| Called by Bolt to inspect a prefab before instantiating it. The object returned from this method can be the prefab itself, it does not have to be a unique instance. More...
|
|
Deault implementation of Bolt.IPrefabPool which uses GameObject.Instantiate and GameObject.Destroy
◆ LoadPrefab()
UE.GameObject Photon.Bolt.IPrefabPool.LoadPrefab |
( |
Bolt.PrefabId |
prefabId | ) |
|
|
inherited |
Called by Bolt to inspect a prefab before instantiating it. The object returned from this method can be the prefab itself, it does not have to be a unique instance.
- Parameters
-
prefabId | The id of the prefab we are looking for |
- Returns
- A game object representing the prefab or an instance of the prefab