
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,
}
Code: Select all
[System.Flags]
public enum ShipComponentType
{
Weapon = 0x1,
Cabin = 0x2,
Engine = 0x4,
Wings = 0x8,
}
Code: Select all
(DialogueManager.dialogueUI as StandardDialogueUI).isOpen