Photon Bolt Engine API 1.3

Public Member Functions | List of all members
Photon.Bolt.DefaultPrefabPool Class Reference

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

Inheritance diagram for Photon.Bolt.DefaultPrefabPool:
Photon.Bolt.IPrefabPool

Public Member Functions

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

◆ 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
prefabIdThe id of the prefab we are looking for
Returns
A game object representing the prefab or an instance of the prefab