I have various editor scripts that do various things, and one script in particular is giving me a bit of trouble. All it does is draw a gizmo for me, but I've changed the icon of the gizmo itself, and Unity keeps drawing the old gizmo, not the new one.
How can I "refresh" my editor scripts, forcing them to re-compile, or reload any related resources?
Edit: To be more specific, the resource (icon) I'm using as my gizmo is somehow cached by Unity... is there any way to efficiently refresh that?
If I were you, I'd just copy your script into a new file. It's a hassle, but it should work.
answered Mar 29 '10 at 08:23 PM