public override void OnFlowSettingsGUI() {

			if (Localization.settings == null) Localization.settings = Localization.GetSettingsFile();
			
			var settings = Localization.settings;
			if (settings == null) {
				
				EditorGUILayout.HelpBox(string.Format(FlowAddon.MODULE_HAS_ERRORS, "Settings file not found (LocalizationSettings)."), MessageType.Error);
				
			} else {
				
				GUILayout.Label(FlowAddon.MODULE_INSTALLED, EditorStyles.centeredGreyMiniLabel);
				
				if (this.editor == null) {
					
					this.editor = Editor.CreateEditor(settings);
					
				}
				
				if (this.editor != null) {
					
					this.editor.OnInspectorGUI();
					
				}

			}
			
		}
Example #2
0
 protected virtual void OnInspectorGUI(LocalizationSettings settings, LocalizationServiceItem item, System.Action onReset, GUISkin skin)
 {
 }
Example #3
0
 public virtual System.Collections.Generic.IEnumerator <byte> GetData(LocalizationSettings settings, System.Action <LocalizationResult> onResult)
 {
     yield return(0);
 }
Example #4
0
 public virtual void EditorLoad(LocalizationSettings settings, LocalizationServiceItem item)
 {
 }
		protected virtual void OnInspectorGUI(LocalizationSettings settings, LocalizationServiceItem item, System.Action onReset, GUISkin skin) {
			
			
			
		}