private void Start()
 {
     achievementManager = AchievementManager.instance;
     audioManager       = AudioManager.instance;
     highscoreManager   = HighscoreManager.instance;
     hud           = GetComponent <PlayerHud>();
     playerControl = GetComponent <PlayerControl>();
     playerScore   = GetComponent <PlayerScore>();
     scoreboard    = FindObjectOfType <Scoreboard>();
     shopManager   = ShopManager.instance;
 }
Example #2
0
 private void Awake()
 {
     instance = this;
 }