Skip to content

A custom Unity Editor window for managing multiple ScriptableObjects efficiently. View and edit ScriptableObjects of the same type side-by-side or list different types vertically for faster data modification.

License

Notifications You must be signed in to change notification settings

yunnsbz/Unity-Scriptable-Object-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity ScriptableObject Editor

A custom Unity Editor tool designed to streamline the process of viewing and editing multiple ScriptableObjects (SOs) in a single window. This editor allows you to display ScriptableObjects of the same type side-by-side for quick comparison and modification, as well as list different types of ScriptableObjects vertically in a structured layout.

Features

  • Side-by-Side Editing: View and edit multiple ScriptableObjects of the same type in a single window for faster workflows.
  • Multi-Type Support: Display different types of ScriptableObjects in a vertical list for easy access.
  • Customizable Layout: Easily switch between viewing configurations and types.
  • Intuitive Interface: Built with Unity's Editor API for a seamless integration into your Unity projects.

Updates

  • Adding and Removing ScriptableObjects
  • Reverting Value Change
  • Advanced Filtering Options
  • Dynamic ScriptableObject Loading:
    A functionality to dynamically locate and load ScriptableObjects within the project, removing the dependency on a specific folder structure (e.g., Assets/Resources/ScriptableObjects/).

Installation

  1. Copy and paste the script located at Assets/Editor/Editor Windows/ScriptableObjectEditorWindow.cs into your Unity project's Assets/Editor folder.
  2. For this version, your ScriptableObjects must be placed in the Assets/Resources/ScriptableObjects/ folder (the program will automatically fetch all ScriptableObjects from this directory).
  3. In Unity, go to the top menu and find the new "Game Configuration Editor" window.
  4. Open the editor window to start managing your ScriptableObjects.

Usage

  1. Open the Editor Window:
    • Navigate to the Unity menu and open the "Game Configuration Editor" window.
  2. Select Config Types:
    • Use the dropdown or selection area to choose the ScriptableObject types you want to edit.
  3. Edit Side-by-Side:
    • For the selected types, view multiple instances side-by-side.
    • Modify fields such as int, string, vector3, gameObject, array, enum etc., directly in the editor.
  4. Refresh and Filter:
    • Use the "Refresh" button to reload the ScriptableObjects and the "Filter" option to narrow down your selection.

Example

In the screenshot below, you can see two TestSO ScriptableObjects (TestConfig and TestConfig1) being edited side-by-side. Fields like number, text, position, and references to GameObject, Transform, or Material are displayed for quick modification.

ScriptableObject Editor Screenshot

Contributing

Feel free to fork this repository and submit pull requests with improvements or bug fixes. If you encounter any issues, please open an issue on GitHub.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A custom Unity Editor window for managing multiple ScriptableObjects efficiently. View and edit ScriptableObjects of the same type side-by-side or list different types vertically for faster data modification.

Topics

Resources

License

Stars

Watchers

Forks

Languages