You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this could do the trick. http://docs.unity3d.com/ScriptReference/FileUtil.DeleteFileOrDirectory.html
This would create a menu item at the top of the editor (called "Example" in this example).
You're talking about files that should no longer be in the project, correct? So that would be ClientKit.dll because its been renamed, osvrTransform.dll, and the Displays folder?
I'd prefer to not have a top-level menu added (pretty sure I saw somewhere it's not best practices), but a submenu somewhere would work. We'd also want to explicitly list the files to remove (not just the whole displays folder - what if that's where the user was storing theirs) and list to the user for confirmation the ones we found. But if that's the right way to remove files (along with the corresponding .meta file), then that's good - otherwise there's always .NET framework standard libraries for that part
Can we make an Editor script that removes outdated files (like
ClientKit.dll
) for easier upgrading?The text was updated successfully, but these errors were encountered: