A Unity Editor tool to find and replace serialized strings in the scene.
StringFinder is a Unity Editor extension designed to help developers easily find and replace serialized strings within their scenes. This tool can be particularly useful for large projects where manually searching for strings across multiple GameObjects and components can be time-consuming and error-prone.
- Search for Serialized Strings: Quickly find all serialized strings in the scene that contain a specified substring.
- Replace Serialized Strings: Replace all instances of the specified substring with a new string.
- Select GameObjects: Click on search results to highlight and select the corresponding GameObject in the Unity hierarchy.
- Clone or download this repository.
- Copy the
SerializedStringFinder.cs
script into theEditor
folder of your Unity project.
- Open Unity and navigate to
Tools > Serialized String Finder
to open the tool. - Enter the substring you want to search for in the "Search String" input field.
- Enter the replacement string in the "Replace String" input field.
- Click the "Find" button to search for all serialized strings in the scene that contain the specified substring.
- Click the "Replace All" button to replace all found instances with the replacement string.
- Click on any result to select the corresponding GameObject in the hierarchy.
- Efficiency: Automate the tedious process of searching and replacing strings across multiple GameObjects and components.
- Accuracy: Reduce the risk of missing instances or making errors when manually editing strings.
- Convenience: Easily navigate to and manage serialized string fields directly from the search results.
Contributions are welcome! Feel free to open issues or submit pull requests to improve this tool.
This project is licensed under the MIT License. See the LICENSE file for details.