Need a little Csharp help please.

I got a bit of a tangle in what I’m trying to achieve. Wondering if someone can help me out.
I want a enum that isn’t global between all scenes.
And I need to access this enum with out knowing the name of the class its inside lol.

public class EarthAI : MonoBehaviour {

    public enum AISelection {
        Soldier
    };
}

So in another script I want to be able to do

public AISelection m_AISelection;

I know i can do this below but I don’t want to know the name of the class its in.

public EarthAI.AISelection m_AISelection;

Is there some way i can reference it into another script say named PlanetSettings so i can do

public PlanetSettings.AISelection m_AISelection;

I read something online about using a interface. I’m confused how to do it.
Can someone please give me an example using the information above so i can easily understand it.

You can’t define an enum inside an interface. What is wrong with the EarthAI.AISelection?

Thanks for the response Brathnann

Cause there will be
EarthAI.AISelection
MarsAI.AISelection
PlutoAi.AISlection
etc…

When my scene loads it knows what enum list to use.

Maybe I need to use a editor selection drop down box for this instead?

Are all these enums the same? If so, you probably want a base class where you can implement your enum and then have your other classes inherit from it.

Each enum will have different selections in them.

I don’t think it’s possible. After tons of reading.