예제 #1
0
 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;
 }
예제 #2
0
 private void Awake()
 {
     instance = this;
 }