using System; using System.Collections.Generic; using UnityEngine; namespace Tag { [CreateAssetMenu(fileName = "TaggedItem", menuName = "Scriptable Objects/TaggedItem")] public class TaggedItemInfo : ScriptableObject { public ItemType itemType; public Sprite image; public List tags; } [Serializable] public enum ItemType { [InspectorName("眼睛")] Eye, [InspectorName("鼻子")] Norse, [InspectorName("眉毛")] Elbow, [InspectorName("嘴巴")] Mouse, [InspectorName("配饰")] Accessories } }