Exemplo n.º 1
0
 void Start()
 {
     projectile = this.GetComponentInParent <GuidedKinematic>();
 }
Exemplo n.º 2
0
 void Start()
 {
     rocket = this.GetComponentInChildren <GuidedKinematic>();
     ResetRocket();
 }
Exemplo n.º 3
0
 public void LoadStats(float pushforce, int damage)
 {
     this.damage    = damage;
     this.pushForce = pushforce;
     projectile     = this.GetComponent <GuidedKinematic>();
 }
Exemplo n.º 4
0
 void Start()
 {
     projectile     = this.GetComponent <GuidedKinematic>();
     _primaryWeapon = this.GetComponentInParent <PrimaryWeaponBase>();
 }