void Start() { //ResetHighScore(); _highScore = PlayerPrefs.GetInt(HIGHSCORE, _highScore); scoreManager = ScoreManager.GetInstance(); scoreManager.ResetScore(); soundManager = GameObject.Find("SoundsManager").GetComponent <SoundsManager>(); ballManager = FindObjectOfType <BallManager>(); gameOverManager = GetComponent <GameOverManager>(); soundManager.PlayRickAndMortyTheme(); }
private void Start() { soundsManager = GameObject.Find("SoundsManager").GetComponent <SoundsManager>(); soundsManager.PlayRickAndMortyTheme(); }