Class AutoDestroy
This component is used to automatically destroy an object after a set condition. This can be setup to:
- Destroy after a set amount of time has passed
- Destroy when the particle system on an object stops
- Destroy when an animation is done (via an animation event)
The destroy behaviour can also be customized
Namespace: WeaverCore.Assets.Components
Assembly: WeaverCore.dll
Syntax
public class AutoDestroy : MonoBehaviour
Methods
| Edit this page View SourceDestroy()
Destroys the object
Declaration
public void Destroy()