1. Home
  2. Docs
  3. Ignis
  4. Tutorials
  5. Invoke custom events from flammable object progress

Invoke custom events from flammable object progress

Example Use Case: You want to invoke custom events when the flammable object is ignited, extinguished or burnt out.

How to implement:

  1. Add a FlameEventInvoker component to your gameobject which has flammableobject.cs or click FlammableObject->Advanced->Enable Flame Events.
  2. Use the invoker like any Unity Event system to call your custom events.
  1. More information Unity Events https://docs.unity3d.com/Manual/UnityEvents.html
Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published.