Example #1
0
 void OnPress(bool state)
 {
     Debug.Log(" on press : " + state);
     if (state)
     {
         PlaySceneCtr.Instance().MoveCubeFallDown();
     }
 }
Example #2
0
 void Awake()
 {
     g_Instance = this;
 }
Example #3
0
 public void OnRestart()
 {
     this.gameObject.SetActive(false);
     PlaySceneCtr.Instance().OnRestart();
 }