예제 #1
0
 private void DrawTypeDrawerFolder()
 {
     EditorGUILayout.BeginHorizontal();
     {
         var path = EditorGUILayoutTools.ObjectFieldOpenFolderPanel(
             "Type Drawers",
             _visualDebuggingConfig.TypeDrawerFolderPath,
             _visualDebuggingConfig.TypeDrawerFolderPath);
         if (!string.IsNullOrEmpty(path))
         {
             _visualDebuggingConfig.TypeDrawerFolderPath = path;
         }
     }
     EditorGUILayout.EndHorizontal();
 }
예제 #2
0
 private void DrawDefaultInstanceCreator()
 {
     EditorGUILayout.BeginHorizontal();
     {
         var path = EditorGUILayoutTools.ObjectFieldOpenFolderPanel(
             "Default Instance Creators",
             _visualDebuggingConfig.DefaultInstanceCreatorFolderPath,
             _visualDebuggingConfig.DefaultInstanceCreatorFolderPath);
         if (!string.IsNullOrEmpty(path))
         {
             _visualDebuggingConfig.DefaultInstanceCreatorFolderPath = path;
         }
     }
     EditorGUILayout.EndHorizontal();
 }