コード例 #1
0
 public void Clone(ISWeapon weapon)
 {
     _minDamage 		= weapon.MinDamage;
     _maxDamage 		= weapon.MaxDamage;
     _weaponType 	= weapon.WeaponType;
     _gameObject 	= weapon.Prefab;
     _attackType 	= weapon.AttackType;
     _range 			= weapon.Range;
     _ranged			= weapon.Ranged;
     _twoHanded 		= weapon.TwoHanded;
 }
コード例 #2
0
 public ISWeaponType(ISWeaponType copiedObject)
     : base(copiedObject)
 {
 }