Here is my scriptable object:
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Armory Item", menuName = "Model Manager/New Armory Item")]
[Serializable]
public class ArmoryItemSO : ScriptableObject
{
public int id;
public GameObject mesh;
public RaceBodySlot hidesBodySlot;
public Textures textures;
}
public enum RaceBodySlot
{
None,
Head,
Torso,
Arms,
Hands,
Thighs,
Legs,
Feet,
Tail,
MainHand,
OffHand
}
In the editor I have select menu for hidesBodySlot. However in that select menu I can choose only one option. How can I make it so I can choose more than one?
After that how can I get all the chosen options for hidesBodySlot ?