示例#1
0
        public void Clone(ISArmor armor)
        {
            base.Clone(armor);

            _currentArmor  = armor._currentArmor;
            _maxArmor      = armor._maxArmor;
            _durability    = armor.Durability;
            _maxDurability = armor.MaxDurability;
            equipmentSlot  = armor.equipmentSlot;
            _prefab        = armor.Prefab;
        }
示例#2
0
 public ISArmor(ISArmor armor)
 {
     Clone(armor);
 }