Public Member Functions | |
void | Destroy (UE.GameObject gameObject) |
This is called when Bolt wants to destroy the instance of an entity prefab. More... | |
UE.GameObject | Instantiate (PrefabId prefabId, UE.Vector3 position, UE.Quaternion rotation) |
This is called when bolt wants to create a new instance of an entity prefab. 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... | |
void Photon.Bolt.IPrefabPool.Destroy | ( | UE.GameObject | gameObject | ) |
This is called when Bolt wants to destroy the instance of an entity prefab.
gameObject | The instance to destroy |
UE.GameObject Photon.Bolt.IPrefabPool.Instantiate | ( | PrefabId | prefabId, |
UE.Vector3 | position, | ||
UE.Quaternion | rotation | ||
) |
This is called when bolt wants to create a new instance of an entity prefab.
prefabId | The id of this prefab |
position | The position we want the instance instantiated at |
rotation | The rotation we want the instance to take |
UE.GameObject Photon.Bolt.IPrefabPool.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.
prefabId | The id of the prefab we are looking for |