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;