This class is used to listen to key events in a Prefab Pool. Always make a subclass so you can have different Listeners for different Prefab Pools.
More...
|
virtual void | PrefabGrabbedFromPool (Transform transGrabbed) |
| This method gets called when a Prefab gets pulled from the random weighted pool, just before it gets returned. More...
|
|
virtual void | PoolRefilling () |
| This method gets called after all items in the pool have been used so the pool will refill, unless you've disabled refilling. More...
|
|
This class is used to listen to key events in a Prefab Pool. Always make a subclass so you can have different Listeners for different Prefab Pools.
virtual void DarkTonic.CoreGameKit.WavePrefabPoolListener.PoolRefilling |
( |
| ) |
|
|
virtual |
This method gets called after all items in the pool have been used so the pool will refill, unless you've disabled refilling.
virtual void DarkTonic.CoreGameKit.WavePrefabPoolListener.PrefabGrabbedFromPool |
( |
Transform |
transGrabbed | ) |
|
|
virtual |
This method gets called when a Prefab gets pulled from the random weighted pool, just before it gets returned.
- Parameters
-
transGrabbed | Transform of the prefab. |
The documentation for this class was generated from the following file:
- DarkSpawner/Assets/Plugins/DarkTonic/CoreGameKit/Scripts/PrefabPool/WavePrefabPoolListener.cs