|
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?
(comments are locked)
|
|
If I were you, I'd just copy your script into a new file. It's a hassle, but it should work. You could also try re-importing them.
Mar 29 '10 at 08:23 PM
e.bonneville
Turns out in order to refresh the actual texture asset I need to re-import it under a different filename. It's a pain in the ass, but it works.
Jun 08 '10 at 02:28 AM
qJake
Well if it works, it works. ;)
Jun 13 '10 at 05:44 PM
e.bonneville
(comments are locked)
|
