Help using Enums

I’ve sen these things around… enums. I have a general idea that they can be used in an RTS game to tell a unit to have an agressive stance or defensive stance or something of the like. However, I have absolutely no clue how to use them. Could someone please explain them to me in C#?

Don’t have the time right now to go into them, but there’s a boatload of resources on them on the interwebs. I can tell you though that the general .NET tutorials and usage of them is the same as in Unity.

You mean Google xD

Also the full name is ‘enumeration’ which may help in your searches.

Basically they’re just a human-readable way of referring to integers, but do read up on them.