Esempio n. 1
0
 public void initialize(Vector3 position, Weapon weapon, Transform hand)
 {
     transform.position = position;
     this.hand = hand;
     this.speed = weapon.getProjectileSpeed();
     this.damage = weapon.getDamage();
     this.lifeSpan = weapon.getLifeSpan();
 }