コード例 #1
0
		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();
					
				}
				
			}
			
		}
コード例 #2
0
		protected virtual void OnInspectorGUI(ABTestingSettings settings, ABTestingServiceItem item, System.Action onReset, GUISkin skin) {
			
			
			
		}
コード例 #3
0
 protected virtual void OnInspectorGUI(ABTestingSettings settings, ABTestingServiceItem item, System.Action onReset, GUISkin skin)
 {
 }