|
Roulette 1.0
Roulette game template
|
Implementation of a custom pool list. More...
Public Member Functions | |
| void | Add (T value) |
| Adds the. | |
| void | Clear () |
| Clears the. | |
| bool | Contains (T value) |
| Contains the. | |
| void | GeneratePool () |
| Generates the pool. | |
| void | GeneratePool (Transform parent) |
| Generates the pool. | |
| void | GeneratePool (T Object, Transform parent) |
| Generates the pool. | |
| void | GeneratePool (Transform parent, int amount) |
| Generates the pool. | |
| T | PoolInstantiate (Vector3 position, Quaternion rotation) |
| Pools the instantiate. | |
| void | Remove (T value) |
| Removes the. | |
| void | Remove (int index) |
| Removes the. | |
Public Attributes | |
| T | objPool |
| int | AmountPool |
| Transform | parent |
Properties | |
| T | this[int key] [get, set] |
| int | Count [get] |
| Gets the count. | |
| T | First [get] |
| Gets the first. | |
| T | FirstFree [get] |
| Gets the first free. | |
| T | Last [get] |
| Gets the last. | |
Properties inherited from GBTemplates.Roulette.IPoolList< T > | |
Implementation of a custom pool list.
| void GBTemplates.Roulette.PoolList< T >.Add | ( | T | value | ) |
| void GBTemplates.Roulette.PoolList< T >.Clear | ( | ) |
Clears the.
Implements GBTemplates.Roulette.IPoolList< T >.
| bool GBTemplates.Roulette.PoolList< T >.Contains | ( | T | value | ) |
Contains the.
| value | The value. |
Implements GBTemplates.Roulette.IPoolList< T >.
| void GBTemplates.Roulette.PoolList< T >.GeneratePool | ( | T | Object, |
| Transform | parent | ||
| ) |
Generates the pool.
| Object | The object. |
| parent | The parent. |
| void GBTemplates.Roulette.PoolList< T >.GeneratePool | ( | Transform | parent | ) |
| void GBTemplates.Roulette.PoolList< T >.GeneratePool | ( | Transform | parent, |
| int | amount | ||
| ) |
Generates the pool.
| parent | The parent. |
| amount | The amount. |
| T GBTemplates.Roulette.PoolList< T >.PoolInstantiate | ( | Vector3 | position, |
| Quaternion | rotation | ||
| ) |
Pools the instantiate.
| position | The position. |
| rotation | The rotation. |
Implements GBTemplates.Roulette.IPoolList< T >.
| void GBTemplates.Roulette.PoolList< T >.Remove | ( | int | index | ) |
| void GBTemplates.Roulette.PoolList< T >.Remove | ( | T | value | ) |
|
get |
Gets the count.
Implements GBTemplates.Roulette.IPoolList< T >.
|
get |
Gets the first.
Implements GBTemplates.Roulette.IPoolList< T >.
|
get |
Gets the first free.
Implements GBTemplates.Roulette.IPoolList< T >.
|
get |
Gets the last.
Implements GBTemplates.Roulette.IPoolList< T >.