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