Feel
5.2
The best way to improve your game's feel and make it extra juicy
|
Add this component to an object and it'll be auto destroyed X seconds after its Start() More...
Public Types | |
enum | TimedDestructionModes { TimedDestructionModes.Destroy, TimedDestructionModes.Disable } |
the possible destruction modes More... | |
Public Attributes | |
TimedDestructionModes | TimeDestructionMode = TimedDestructionModes.Destroy |
the destruction mode for this object : destroy or disable More... | |
float | TimeBeforeDestruction =2 |
The time (in seconds) before we destroy the object. More... | |
Protected Member Functions | |
virtual void | Start () |
On Start(), we schedule the object's destruction More... | |
virtual IEnumerator | Destruction () |
Destroys the object after TimeBeforeDestruction seconds More... | |
Add this component to an object and it'll be auto destroyed X seconds after its Start()
|
protectedvirtual |
Destroys the object after TimeBeforeDestruction seconds
|
protectedvirtual |
On Start(), we schedule the object's destruction
float MoreMountains.Tools.MMTimedDestruction.TimeBeforeDestruction =2 |
The time (in seconds) before we destroy the object.
TimedDestructionModes MoreMountains.Tools.MMTimedDestruction.TimeDestructionMode = TimedDestructionModes.Destroy |
the destruction mode for this object : destroy or disable