protected override void ValueGUIImpl() { if (isFlags) { TypedDrawingValue = EditorGUIEx.EnumFlagsField(TypedDrawingValue); } else { typedDrawnValue = EditorGUIEx.EnumPopup(TypedDrawingValue); } }
private void UpdateSettingsGUI() { var updateMode = Settings.DrawerUpdateMode; updateMode = EditorGUIEx.EnumPopup(dataUpdateModeContent, updateMode); switch (updateMode) { case DrawerUpdateMode.TimeInterval: Settings.DrawerUpdateTimeInterval = EditorGUILayout .FloatField(timeIntervalContent, Settings.DrawerUpdateTimeInterval); break; } Settings.DrawerUpdateMode = updateMode; }