Example #1
0
 public virtual void UseWeapon(Weapons weapons, SkeletonAnimation animation, ILauncher launcher)
 {
     animation.state.SetAnimation(1, _weaponFireAnimation, false);
     launcher.AttackSpawn(_bulletPrefab, this);
     PlaySound(weapons, ShootSound);
     CurrentClip--;
 }