protected virtual void SendStateChangeEvent(string minigame) { switch (minigame) { case "RingToss": ChangeStateRingToss.Invoke(); break; case "TiltShrine": ChangeStateTiltShrine.Invoke(); break; default: ChangeStateDefault.Invoke(); Debug.LogWarning(minigame + " control state doesn't exist."); break; } }
protected virtual void SendStateChangeEvent() { ChangeStateDefault.Invoke(); }