Jump to content

  • Log In with Google      Sign In   
  • Create Account

- - - - -

Unregister function?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Wipe   Members   -  Reputation: 268

Like
0Likes
Like

Posted 08 June 2014 - 06:27 AM

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

 



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3376

Like
1Likes
Like

Posted 08 June 2014 - 09:57 AM

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

#3 Wipe   Members   -  Reputation: 268

Like
0Likes
Like

Posted 08 June 2014 - 08:40 PM

Thanks, definitely will be useful smile.png




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS