void Start() { bullP = pistol.GetComponent <bulletprojectile> (); }
// Use this for initialization void Start() { bullP = pistol.GetComponent <bulletprojectile> (); //gets the bulletprojectile component from the pistol ammoCount = this.GetComponent <Text> (); }