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; }
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; }