1. Home
  2. Docs
  3. Magio
  4. Tutorials
  5. 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
Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *