summaryrefslogtreecommitdiff
path: root/Assets/Scripts/Tag/TaggedItemInfo.cs
blob: 89cb238e6f4834c177c8191b44ac7467afcc4def (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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<string> tags;
    }

    [Serializable]
    public enum ItemType
    {
        [InspectorName("眼睛")]
        Eye,
        [InspectorName("鼻子")]
        Norse,
        [InspectorName("眉毛")]
        Elbow,
        [InspectorName("嘴巴")]
        Mouse,
        [InspectorName("配饰")]
        Accessories
    }
}