public override void Touched() { Debug.Log("Touched up"); if (!Activated) { Activated = true; StartCoroutine(Activate()); SwitchActivated?.Invoke(this, null); } }
public static void DispatchSwitchActivated(TileColor switchColor) { SwitchActivated?.Invoke(switchColor); }