예제 #1
0
 protected override void Init()
 {
     if(_instance == null)
     {
         _instance = this;
     }
     else if(_instance != this)
     {
         Destroy(this.gameObject);
     }
     base.Init ();
     _continue = GameObject.Find("Win_Continue").GetComponent<Button>();
     _state = MenuManager.MenuState.Win;
 }
예제 #2
0
 protected override void Init()
 {
     if (_instance == null)
     {
         _instance = this;
     }
     else if (_instance != this)
     {
         Destroy(this.gameObject);
     }
     base.Init();
     _continue = GameObject.Find("Win_Continue").GetComponent <Button>();
     _state    = MenuManager.MenuState.Win;
 }