Пример #1
0
 void Awake()
 {
     main        = this;  //Poorly implemented singleton thing, I guess.
     hud         = FindObjectOfType <HUDManager>();
     musicPlayer = GetComponentInChildren <MusicSelector>();
     VirtualControlManager.SetAllDefaultPlayerControls();
     enemyPlacer = GetComponent <EnemyPlacer>();
 }
Пример #2
0
 void Awake()
 {
     VirtualControlManager.SetAllDefaultPlayerControls();
 }