1. Home
  2. Magio
  3. Tutorials
  4. Detect when your object touches an effect

Detect when your object touches an effect

Example: You want your player to take damage when it touches an object that is burning/has some other magic effect.

Steps:

  1. Implement IInteractWithEffect on your class
  2. Example in Arctibyte/Magio/Core/Scripts/Interact/Examples/SimpleInteractWithEffect

How can we help?