Inspector Enumeration Inheritance

Hey there! I’m trying to inherit my enum from each SceneInteractionList, but it’s currently showing outside of the list only once, as opposed to once per list. How could I do this? I’ve played around with it for a while, and haven’t been able to figure it out. Thanks!

[Serializable]
    public class SceneInteractionsClass
    {
        public string interactionLayer;

        public enum interactionType// : SceneInteractionsClass//this gave an error when uncommented
        {
            Scene,
            Quit,
            PromptChange
        }
       
        public string newScene;
        public Vector3 startLocation;
    }

    [Header("ENTER VALUES IN THE FOLLOWING")]
    public List<SceneInteractionsClass> SceneInteractionList;
    public SceneInteractionsClass.interactionType interactionTypeEnum;

5328972--536754--EnumDebug.PNG

[Serializable]
    public class SceneInteractionsClass
    {
        public string interactionLayer;

        public enum interactionType// : SceneInteractionsClass
        {
            Scene,
            Quit,
            PromptChange
        }

        public interactionType interactionTypeEnum;

        public string newScene;
        public Vector3 startLocation;
    }

public List<SceneInteractionsClass> SceneInteractionList;

This seemed to fix it! Putting the declaration inside of the Class.