Property | Type | Description | |
---|---|---|---|
minPooledIds | int | ||
poolablePrefabs | Transform[] |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
GetPrefab ( Transform inst ) : Transform | ||
InstantiateFromPool ( Transform prefab, Vector3 pos, Quaternion rot ) : Transform | ||
NetworkInstantiateFromPool ( Transform prefab, Vector3 pos, Quaternion rot, NetworkConnection authority = null ) : Transform | ||
OnDestroy ( ) : void | ||
ReturnToPool ( Transform instance, float time = 0.0f ) : void |
Method | Description | |
---|---|---|
DelayedReturn ( Transform instance ) : IEnumerator | ||
InstantiateInternal ( int index, string tag, int layer, Vector3 pos, Quaternion rot ) : Transform | ||
PrefabIndex ( Transform prefab ) : int | ||
ReceiveRemoteInstanceFromClient ( NetworkMessage, msg ) : void | ||
ReceiveRemoteInstanceFromServer ( NetworkMessage, msg ) : void | ||
RemoteInstance ( NetworkConnection conn, RemoteInstanceMessage msg ) : void | ||
SendPoolInstantiated ( Transform inst ) : IEnumerator | ||
SendRemoteInstanceToClients ( int index, string tag, int layer, Vector3 pos, Quaternion rot ) : void | ||
SendRemoteInstanceToServer ( int index, string tag, int layer, Vector3 pos, Quaternion rot ) : void | ||
SpawnPoolable ( Vector3 position, |
||
TimedReturn ( Transform instance, float time ) : IEnumerator | ||
UnspawnPoolable ( GameObject go ) : void |
public GetPrefab ( Transform inst ) : Transform | ||
inst | Transform | |
return | Transform |
public InstantiateFromPool ( Transform prefab, Vector3 pos, Quaternion rot ) : Transform | ||
prefab | Transform | |
pos | Vector3 | |
rot | Quaternion | |
return | Transform |
public NetworkInstantiateFromPool ( Transform prefab, Vector3 pos, Quaternion rot, NetworkConnection authority = null ) : Transform | ||
prefab | Transform | |
pos | Vector3 | |
rot | Quaternion | |
authority | NetworkConnection | |
return | Transform |
public ReturnToPool ( Transform instance, float time = 0.0f ) : void | ||
instance | Transform | |
time | float | |
return | void |