Exemplo n.º 1
0
 // Use this for initialization
 void Awake()
 {
     // Store a reference to the TrailSpawner
     trailSpawner = GameObject.Find("TrailPool").GetComponent<Spawn_Trails>();
     team = GetComponent<TeamIdentity> ();
     //Debug.Log("Bullet created");
 }
Exemplo n.º 2
0
 void Awake()
 {
     pGui = transform.parent.gameObject.GetComponent<PlayerGui> ();
     teamIdentity = transform.parent.gameObject.GetComponent<TeamIdentity> ();
     turretControl = GetComponent<TurretControl> ();
 }