6 private bool m_bRandomize;
9 private bool m_bIncompatible;
15 #ifndef ATTRIBUTES_DEBUG
18 if (m_bIncompatible)
return null;
27 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
29 if (var)
m_Value = var.GetInt();
32 override void PreviewVariable(
bool setPreview, SCR_AttributesManagerEditorComponent manager)
39 if (m_bRandomize)
m_Value = Math.RandomIntInclusive(0, 1);