Exemplo n.º 1
0
 private void Awake()
 {
     ammoSpawner = GameObject.Find(SpawnerGameObjectName).GetComponentInChildren <AmmoSpawner>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     INSTANCE = this;
 }
Exemplo n.º 3
0
 void Awake()
 {
     // Setting up the references.
     ammoSpawner = GameObject.Find("AmmoPackSpawner").GetComponent <AmmoSpawner>();
 }