Unregister function?

Started by
1 comment, last by Wipe 9 years, 11 months ago

Is there a way to get rid of function added via asIScriptEngine::RegisterGlobalFunction()? I fail to find anything like that in docs or tests.

Games are meant to be created, not played...

Advertisement

You can use configuration groups for this. When registering the functions that needs to be removed later, you should do so in a configuration group. The entire configuration group can then be removed dynamically.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Thanks, definitely will be useful smile.png

Games are meant to be created, not played...

This topic is closed to new replies.

Advertisement