Exemple #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();
 }
Exemple #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();
 }