Ejemplo n.º 1
0
 void Start()
 {
     weapon = this.transform.GetComponentInChildren(typeof(WeaponController)).GetComponent <WeaponController> ();
 }
 void Start()
 {
     weaponManager = this.GetComponent <WeaponController> ();
 }