void GameDie() { _currentGameState = eGameState.DIE; GameObject _ResultGO = Instantiate(_preResultWnd); _ResultWnd = _ResultGO.GetComponent <ResultWindow>(); _ResultWnd.OpenResultWindow(_totalScore, _timeGame); _ResultWnd.gameObject.SetActive(true); _txtInfo.enabled = false; }