public void GameWin(MsgSCGameWin msg) { playermanager.InitPlayerManager(); enemymanager.InitEnemyManager(); GameWinManager gwm = GameObject.FindGameObjectWithTag("Canvas").GetComponent<GameWinManager>(); gwm.GameWin(); }
private void Awake() { instance = this; _scoreText.text = "Score : " + _score.ToString(); _scoreScreenText.text = "Score : " + _score.ToString(); }