I've made some updates to the tool and renamed it
Nicki's Draw Call Toolbox since it's largely some tools to batch-set depth values.
Here's the download link:
http://nickithansen.dk/stuff/drawcalltoolbox.unitypackageI made it with Unity 4.5 and NGUI 3.6.4, so there's no guaranteee it will work on less than that. When I get around to it, I'll push it to github or something, so it's a little easier to get updates.
If you'd like to help out, I could use a little assistance getting the colors right. There's not real upper limit to the number of colors used, other than they should be clearly distinguishable - look in the top of the UIDrawCallToolbox to see the ones used now.
I've also included a OnGUIWrapper file, which makes OnGUI setup a little more sane than GUI.Begin... GUI.End in weird places, so you can instead do clever things like this
using (new GUIHorizontal
()) {
using (new GUIVertical
()) {
//column of stuff
}
using (new GUIVertical
()) {
//other column of stuff
}
}
instead of
GUILayout.BeginHorizontal();
GUILayout.BeginVertical();
//column
GUILayout.EndVertical();
GUILayout.BeginVertical();
//column
GUILayout.EndVertical();
GUILayout.EndHorizontal();
Essentially wrapping the standard OnGUI things with a nicer IDisposable structure, so you can have some sanity debugging your OnGUI code.
I'll put this link in the top post too.