Ejemplo n.º 1
0
 void Awake()
 {
     main        = this;  //Poorly implemented singleton thing, I guess.
     hud         = FindObjectOfType <HUDManager>();
     musicPlayer = GetComponentInChildren <MusicSelector>();
     VirtualControlManager.SetAllDefaultPlayerControls();
     enemyPlacer = GetComponent <EnemyPlacer>();
 }
Ejemplo n.º 2
0
 void Awake()
 {
     VirtualControlManager.SetAllDefaultPlayerControls();
 }