修改框架

This commit is contained in:
MuHua-123
2025-09-25 17:50:28 +08:00
parent d940a18e13
commit 18c6b4387d
79 changed files with 1017 additions and 392 deletions
@@ -0,0 +1,26 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 护甲类型
/// </summary>
public enum ArmorType {
, , , ,
}
/// <summary>
/// 护甲 - 物品常量
/// </summary>
[CreateAssetMenu(menuName = "MuHua/物品系统/护甲")]
public class ConstArmor : ConstEquipment {
/// <summary> 护甲类型 </summary>
public ArmorType type;
public override InventoryItem To() {
Equipment item = new Equipment();
item.name = name;
item.sprite = sprite;
item.type = type.ToString();
return item;
}
}