1. Home
  2. Magio
  3. Tutorials
  4. Hook to Magio Object events such as Ignited and Nullified

Hook to Magio Object events such as Ignited and Nullified

Example: You want to run your own logic when Magio Object Effect (Flame, plants, etc.) is Ignited or Nullified

Steps:

  1. Go to Magio Object Effect->Advanced
  2. Press “Enable Event Hooks”
  3. Add your own event hooks to the created script.
    1. These are basic Unity Events
    2. https://docs.unity3d.com/ScriptReference/Events.UnityEvent.html

How can we help?