I can’t seem to get my enumeration to show up on the inspector. Amount and Time show up fine but for some reason the numbers enumeration doesn’t show up at all. What could be the problem? I tried adding a [SerializeField] above the enumeration but that didn’t do anything.
[Serializable]
public class Potion : Items
{
public int hpEffect;
public int mpEffect;
public Effect[] effects;
}
[Serializable]
public class Effect
{
public enum numbers {one, two, three};
public int amount;
public int time;
}