Свойство | Type | Description | |
---|---|---|---|
capAmount | int | ||
onObjectCreation | System.Action |
||
persistAcrossScenes | bool | ||
releaseOnSceneTransition | bool | ||
useCap | bool |
Свойство | Type | Description | |
---|---|---|---|
Awake | void | ||
Clear | void | ||
Initialize | void | ||
OnDestroy | void | ||
ReleaseObjects | void | ||
ReuseObject | |||
SceneTransitioning | void | ||
SendCreationMessage | void |
Méthode | Description | |
---|---|---|
AddToPool ( int numberToAdd ) : void |
Adds 'numberToAdd' to the pool.
|
|
AmountInPool ( ) : int |
Count of GameObjects currently in the pool.
|
|
Get ( ) : |
Returns an object from the pool
|
|
IncrementPool ( ) : void |
Adds one object to the pool
|
|
PopulatePool ( int numberToPopulate ) : void |
Populates the pool up to 'numberToPopulate' will not add to the pool past that count.
|
|
Release ( ) : void |
Releases an object back to the pool.
|
|
ReleaseObjectsAndClearPool ( ) : void |
Méthode | Description | |
---|---|---|
Awake ( ) : void | ||
Clear ( ) : void |
Completely resets the pool. Live objects are on their own but pooled objects will be destroyed.
|
|
Initialize ( ) : void | ||
OnDestroy ( ) : void | ||
ReleaseObjects ( ) : void | ||
ReuseObject ( ) : |
||
SceneTransitioning ( Scene from, Scene to ) : void | ||
SendCreationMessage ( |
public AddToPool ( int numberToAdd ) : void | ||
numberToAdd | int | Amount to add to the pool. |
Résultat | void |
public PopulatePool ( int numberToPopulate ) : void | ||
numberToPopulate | int | Amount to bring the pool up to. |
Résultat | void |
public ReleaseObjectsAndClearPool ( ) : void | ||
Résultat | void |
public static System.Action |
||
Résultat | System.Action |