Skip to content

A small window to run in the Unity Editor that allows you to quickly and easily modify your script definitions. This is invaluable when debugging and profiling, because you can quickly enable/disable chunks of code.

License

becksebenius/script-define-window

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Script Define Window

A small window to run in the Unity Editor that allows you to quickly and easily modify your script definitions. This is invaluable when debugging and profiling, because you can quickly enable/disable chunks of code.

alt tag

Access the window from the "Window/Script Defines" menu item.

Once the window is open, you can test that the tool is working by adding "SCRIPT_DEFINES_TEST". Click "Apply" in the top right corner of the window, and wait for the program to recompile. You should then see a text reading "Script Defines Test is Enabled!" at the bottom of the window.

Script defines can be toggled per-platform by selecting the dropdown next to each definition.

This program is MIT licensed, so you can do whatever you want with it :) You can download a Unity package with everything you need at this link: https://dl.dropboxusercontent.com/u/12558999/ScriptDefinesWindow.unitypackage

Contact me via twitter @becksebenius if you have questions or comments.

About

A small window to run in the Unity Editor that allows you to quickly and easily modify your script definitions. This is invaluable when debugging and profiling, because you can quickly enable/disable chunks of code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages