Beispiel #1
0
 void Awake()
 {
     pg       = GetComponent <PauseGame>();
     sg       = GetComponent <StartGame>();
     btm      = GetComponent <BackToMain>();
     maxScore = PlayerPrefs.GetInt("high_score", 0);
 }
 private void OnBackToMain(object obj)
 {
     BackToMain?.Invoke(this, EventArgs.Empty);
 }