Пример #1
0
 /// <summary>
 /// 初期化処理
 /// </summary>
 private void OnEnable()
 {
     this.destPath = new EditorPrefsString(GetType().FullName + ".destPath", "Assets", Directory.Exists);
 }
Пример #2
0
 /// <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));
 }