コード例 #1
0
ファイル: WeaponManager.cs プロジェクト: hafewa/Core-Attack
 public void FireActiveWeapon()
 {
     if (ActiveWeapon != null)
     {
         ActiveWeapon.Fire();
     }
 }
コード例 #2
0
 //this is an absolete function, we don't use it anymore but we might in the future
 public bool FireActiveWeapon()
 {
     if (ActiveWeapon != null)
     {
         return(ActiveWeapon.Fire());
     }
     return(false);
 }