https://github.com/enjirouz/unity-scene-updater
Simple script with common functions to update all project Unity scenes with one click
https://github.com/enjirouz/unity-scene-updater
unity unity-editor unity-scripts unity-tool unity-tools
Last synced: about 1 month ago
JSON representation
Simple script with common functions to update all project Unity scenes with one click
- Host: GitHub
- URL: https://github.com/enjirouz/unity-scene-updater
- Owner: EnjiRouz
- Created: 2021-05-29T12:52:53.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T16:02:11.000Z (almost 4 years ago)
- Last Synced: 2024-11-14T20:38:36.232Z (6 months ago)
- Topics: unity, unity-editor, unity-scripts, unity-tool, unity-tools
- Language: C#
- Homepage:
- Size: 28.3 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unity Scene Updater
Simple script with common functions to update all Unity project scenes with one click## What It Can Do?
- Update each scene in Unity project with AutoSave;
- Instantiate game object with specific hierarchy;
- Change object layer by layer name;
- Find child with name deep in Transform hierarchy;
- Change RectTransform Anchors and Pivot using easy-to-use presets;
- Copy Transform or RectTransform local position, rotation and scale from one object to another;
- Change Canvas and TextMeshPro Settings via script;
- Add PersistentListener to Button (can be seen and changed in Inspector).Modify as you want to make it work for your project!
## How To Use?
1. Change `SceneUpdater` class in `Assets\Scripts\Editor\SceneUpdater.cs` and save it;
2. Add scenes you want to change to BuildSettings (scene activation doesn't matter);
3. Go to `Custom Tools -> Scene Updater` in Unity menu bar;
4. Click `Update scenes` button;
5. Wait until finished.**WARNING!** Try to change one scene before running script on each one! Use version control!
## Tips
- Use `Utils` folder for Unity classes Extensions.
- Use `Editor` folder for Custom GUI tools.
- Use `Template` scene to try on.