Is it possible for a plugin to unload itself?
I'm working on my first pluing ever, and I want it to unload when I close the plugin window. I've tried the following:
Code:
Turbine.PluginManager.UnloadScriptState("Plugin_Name")
But it don't work.
Any suggestions?
Thanks!