public override void OnFlowSettingsGUI() { if (ABTesting.settings == null) ABTesting.settings = ABTesting.GetSettingsFile(); var settings = ABTesting.settings; if (settings == null) { EditorGUILayout.HelpBox(string.Format(FlowAddon.MODULE_HAS_ERRORS, "Settings file not found (ABTestingSettings)."), MessageType.Error); } else { GUILayout.Label(FlowAddon.MODULE_INSTALLED, EditorStyles.centeredGreyMiniLabel); if (this.editor == null) { this.editor = Editor.CreateEditor(settings) as ABTestingSettingsEditor; } if (this.editor != null) { this.editor.OnInspectorGUI(); } } }
protected virtual void OnInspectorGUI(ABTestingSettings settings, ABTestingServiceItem item, System.Action onReset, GUISkin skin) { }