Пример #1
0
 public void FireGun(Vector2 origin, Vector2 target, bool isSpecial, bool fireEvent = true)
 {
     Gun.FireBullet(origin, target, isSpecial);
     if (fireEvent)
     {
         NetworkEvents.SendPlayerFired(origin, target, isSpecial);
     }
 }