/// <summary> /// 初期化処理 /// </summary> private void OnEnable() { this.destPath = new EditorPrefsString(GetType().FullName + ".destPath", "Assets", Directory.Exists); }
/// <summary> /// 初期化処理 /// </summary> private void OnEnable() { this.sourceCsvDirectoryPath = new EditorPrefsString(GetType().FullName + ".sourceCsvDirectoryPath", Application.dataPath, Directory.Exists); this.destCsDirectoryPath = new EditorPrefsString(GetType().FullName + ".destCsDirectoryPath", Application.dataPath); this.destScriptableObjectDirectoryPath = new EditorPrefsString(GetType().FullName + ".destScriptableObjectDirectoryPath", null, (val) => Directory.Exists(Application.dataPath + val)); }