22 if (!lensFlareComponent)
25 for(
int i = 0; i < count; i++)
27 if ((
int)
m_aValues[i].GetFloatValue() == lensFlareComponent.GetLensFlareType())
34 override void WriteVariable(Managed item,
SCR_BaseEditorAttributeVar var, SCR_AttributesManagerEditorComponent manager,
int playerID)
48 if (!lensFlareComponent)
51 lensFlareComponent.SetLensFlareType((
int)
m_aValues[var.GetInt()].GetFloatValue());
54 override void PreviewVariable(
bool setPreview, SCR_AttributesManagerEditorComponent manager)
56 WriteVariable(
null, GetVariable(), manager, -1);