/// <summary> /// 初始化标题信息. /// </summary> /// <param name="iTarget">目标信息.</param> protected virtual void InitTitleInfo(T1 iTarget) { if (string.IsNullOrEmpty(ImportDir)) { ImportDir = UtilsTools.CheckMatchPath(AssetSetting.GetImportPath()); } DrawLabel(0, "Import Dir", Color.white, ImportDir); if (string.IsNullOrEmpty(ExportDir)) { ExportDir = UtilsTools.CheckMatchPath(AssetSetting.GetExportPath()); } DrawLabel(0, "Export Dir", Color.white, ExportDir); }
/// <summary> /// 初始化标题信息. /// </summary> /// <param name="iTarget">目标信息.</param> protected virtual void InitTitleInfo(T1 iTarget) { if (string.IsNullOrEmpty(ImportDir)) { ImportDir = UtilsTools.CheckMatchPath(AssetSetting.GetImportPath()); } EditorGUILayout.LabelField("Import Dir", ImportDir); if (string.IsNullOrEmpty(ExportDir)) { ExportDir = UtilsTools.CheckMatchPath(AssetSetting.GetExportPath()); } EditorGUILayout.LabelField("Export Dir", ExportDir); }