Tools

Unity Refactor Helper

Unity Refactor Helper

Visual Studio 2015, 2017 helper extension for Unity script refactoring.

Download

This extension will be helpful if you keep Unity scripts in separate libraries. Extension works only with C#. Scripts references in the scenes and prefabs will be broken after refactoring (changing namespace or class name). This extension monitors changes in project files and update scene and prefab files after assembly build.

Set the asset serialization to force text and version control to visible Meta files in Unity (Edit -> Project Settings -> Editor).

Visual Studio extension located at View -> Other Windows -> Unity Refactor Helper. It is become active after solution is open and all projects are loaded.

#Possible settings

  • Enable – start extension
  • Unity project folder - path to the Assets folder in Unity project
  • Projects - select monitored library
  • Project GUID – Get this GUID from the assembly Meta file in Unity folder
  • Watch projects - tracked libraries

#Additional Information You can edit project GUID by clicking on the project name in the watch projects. Extension creates two files (configuration and cache) in the *.sln file folder. It tracks file save and synchronize files after build if it is required. Tracking occurs only inside the library, file move tracking between libraries is not supported.