Add a custom enum to the Type drop-down menu for an Item
Posted: Sun Feb 19, 2023 1:15 pm
How do I add a custom enum to the Type drop-down menu for an Item?
It would look something like this
Code: Select all
[System.Flags]
public enum ShipComponentType
{
Weapon = 0x1,
Cabin = 0x2,
Engine = 0x4,
Wings = 0x8,
}