示例#1
0
        public void Clone(ISWeapon weapon)
        {
            base.Clone(weapon);

            _minDamage = weapon.MinDamage;
            _durability = weapon.Durability;
            _maxDurability = weapon.MaxDurability;
            equipmentSlot = weapon.equipmentSlot;
            _prefab = weapon.Prefab;
        }
示例#2
0
 public ISWeapon(ISWeapon weapon)
 {
     Clone(weapon);
 }