public void OnStateEnter(ButtonScript button) { buttonScript = button; buttonScript.EraseButtonOnOff(false); buttonScript.TurnOffButton(); LevelManager.Instance.OnOffHighLight(false); }
public void OnStateEnter(ButtonScript button) { buttonScript = button; buttonScript.EraseButtonOnOff(true); if (LevelManager.Instance.currentButton != null && LevelManager.Instance.currentButton != button) { LevelManager.Instance.currentButton.ChangeState(new ButtonStateIdle()); } LevelManager.Instance.currentButton = button; }
public void OnStateEnter(ButtonScript button) { buttonScript = button; buttonScript.EraseButtonOnOff(false); }