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