SwitchTriggerTarget
/* This should have been an interface, but Unity don't * allow interface objects as public references in the gui. * */ using UnityEngine; public abstract class SwitchTriggerTarget : MonoBehaviour { public abstract void OnTriggerSwitch(bool on); }
Recent Comments