Свойство | Тип | Описание | |
---|---|---|---|
verboseLogging | bool |
Метод | Описание | |
---|---|---|
AddToPool ( this obj, int amount ) : void |
Adds to the GameObject's object pool count.
|
|
AddToPoolWithObj ( |
Adds to the prefab's or GameObject's object pool.
|
|
Get ( this obj ) : |
Gets an object from this GameObject's object pool.
|
|
GetObj ( |
Receives a GameObject from objToCreateFrom's object pool.
|
|
IncrementPool ( this obj ) : void |
Increments the GameObject's object pool count.
|
|
IncrementPoolWithObj ( |
Increments the prefab's or GameObject's object pool.
|
|
PopulatePool ( this obj, int amount ) : void |
Populates the GameObject's object pool up to the healAmount specified.
|
|
PopulatePoolCo ( this obj, int amount ) : IEnumerator |
Populates the GameObject's object pool to the specified amount within an enumerator. Intended to work with https://github.com/GalvanicGames/unity-game-loader
|
|
PopulatePoolWithObj ( |
Populates the prefab's or GameObject's object pool up to the specified count.
|
|
Release ( this obj ) : void |
Releases the GameObject back to its object pool.
|
|
ReleaseObj ( |
Releases an object back to its object pool.
|
public static AddToPool ( this obj, int amount ) : void | ||
obj | this | |
amount | int | Amount to add to the pool. |
Результат | void |
public static AddToPoolWithObj ( |
||
objToAddTo | The prefab or GameObject to add to. | |
amount | int | Amount to add. |
Результат | void |
public static Get ( this obj ) : |
||
obj | this | |
Результат |
public static GetObj ( |
||
objToCreateFrom | The prefab or GameObject that we /// want a duplicated object of. | |
Результат |
public static IncrementPool ( this obj ) : void | ||
obj | this | |
Результат | void |
public static IncrementPoolWithObj ( |
||
objToInc | The prefab or GameObject to increment. | |
Результат | void |
public static PopulatePool ( this obj, int amount ) : void | ||
obj | this | |
amount | int | Number to populate with. |
Результат | void |
public static PopulatePoolCo ( this obj, int amount ) : IEnumerator | ||
obj | this | |
amount | int | |
Результат | IEnumerator |
public static PopulatePoolWithObj ( |
||
objToPopulate | The prefab or GameObject to populate. | |
amount | int | Number to populate with. |
Результат | void |
public static Release ( this obj ) : void | ||
obj | this | |
Результат | void |
public static ReleaseObj ( |
||
objToRelease | Object to release | |
Результат | void |