Beispiel #1
0
 public void SwitchToWeapon(WeaponInfo.weaponType _weaponType)
 {
     foreach (KeyValuePair <WeaponInfo.weaponType, WeaponInfo> pair in WeaponInfo.allWeaponInfos)
     {
         if (pair.Key == _weaponType)
         {
             weaponInfo.Copy(pair.Value);
             SetWeaponAttFromWeaponInfo();
         }
     }
 }