Photon Bolt Engine API  1.2.0.3
Private Member Functions | List of all members
Bolt.DefaultPrefabPool Class Reference

Deault implementation of Bolt.IPrefabPool which uses GameObject.Instantiate and GameObject.Destroy More...

Inheritance diagram for Bolt.DefaultPrefabPool:
Bolt.IPrefabPool

Private Member Functions

void IPrefabPool. Destroy (UE.GameObject gameObject)
 This is called when Bolt wants to destroy the instance of an entity prefab. More...
 
UE.GameObject IPrefabPool. Instantiate (PrefabId prefabId, UE.Vector3 position, UE.Quaternion rotation)
 
UE.GameObject IPrefabPool. LoadPrefab (PrefabId prefabId)
 

Additional Inherited Members

- Public Member Functions inherited from Bolt.IPrefabPool
UE.GameObject Instantiate (Bolt.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...
 

Detailed Description

Deault implementation of Bolt.IPrefabPool which uses GameObject.Instantiate and GameObject.Destroy

Member Function Documentation

◆ Destroy()

void IPrefabPool. Bolt.DefaultPrefabPool.Destroy ( UE.GameObject  gameObject)
inlineprivate

This is called when Bolt wants to destroy the instance of an entity prefab.

Parameters
gameObjectThe instance to destroy

Implements Bolt.IPrefabPool.

◆ Instantiate()

UE.GameObject IPrefabPool. Bolt.DefaultPrefabPool.Instantiate ( PrefabId  prefabId,
UE.Vector3  position,
UE.Quaternion  rotation 
)
inlineprivate

◆ LoadPrefab()

UE.GameObject IPrefabPool. Bolt.DefaultPrefabPool.LoadPrefab ( PrefabId  prefabId)
inlineprivate