class AttributeSource
Part of Entity editor attribute system
Constructors 1
void Attribute(string defvalue, string uiwidget, string desc = "", string rangescale = "", ParamEnumArray enums = NULL)Members 5
string m_DefValueReferenced by Attribute()
string m_UiWidgetcan be "editbox", "combobox", "spinbox", "slider", "font", "fileeditbox", "colorPicker", "flags", "resourceNamePicker"
Referenced by Attribute()
string m_DescReferenced by Attribute()
ref ParamEnumArray m_EnumsOnly ints and floats are currently supported. Array can be defined this way: { ParamEnum("Choice 1", "1"), ParamEnum("Choicen 2", "2") }
Referenced by Attribute()