コード例 #1
0
 public void OnStateEnter(ButtonScript button)
 {
     buttonScript = button;
     buttonScript.EraseButtonOnOff(false);
     buttonScript.TurnOffButton();
     LevelManager.Instance.OnOffHighLight(false);
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public void OnStateEnter(ButtonScript button)
 {
     buttonScript = button;
     buttonScript.EraseButtonOnOff(false);
 }