|  | Inventory Engine v4.2
    | 
Add this component to an object and it'll be auto destroyed X seconds after its Start() More...
Inherits MonoBehaviour.
| Public Types | |
| enum | TimedDestructionModes { Destroy , Disable } | 
| the possible destruction modes  More... | |
| Public Attributes | |
| TimedDestructionModes | TimeDestructionMode = TimedDestructionModes.Destroy | 
| the destruction mode for this object : destroy or disable | |
| float | TimeBeforeDestruction =2 | 
| The time (in seconds) before we destroy the object. | |
| Protected Member Functions | |
| virtual void | Start () | 
| On Start(), we schedule the object's destruction. | |
| virtual IEnumerator | Destruction () | 
| Destroys the object after TimeBeforeDestruction seconds. | |
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