1. Home
  2. Ignis
  3. Tutorials
  4. 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

How can we help?