// 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"); }
void Awake() { pGui = transform.parent.gameObject.GetComponent<PlayerGui> (); teamIdentity = transform.parent.gameObject.GetComponent<TeamIdentity> (); turretControl = GetComponent<TurretControl> (); }