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