5 [
Attribute(uiwidget: UIWidgets.LocaleEditBox)]
8 [
Attribute(
desc:
"If true the Sub checkbox will be disabled if Main is false. If false the Sub checkbox will be disabled if Main is true")]
9 protected bool m_bDisableSubWhenMainIsFalse;
10 [
Attribute(defvalue:
"1",
desc:
"If disabled will either set itself true or false")]
11 protected bool m_bSetFalseIfDisabled;
16 if (!editableEntity)
return null;
23 vector saveValues = Vector(1, 0, 0);
26 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
30 if (!editableEntity)
return;
35 override int GetEntries(notnull array<ref SCR_BaseEditorAttributeEntry> outEntries)
40 return outEntries.Count();