global variable C++

MehdiZangenehBarMehdiZangenehBar Posts: 140

how we can retrive script engine to get/set global variable?

Post edited by MehdiZangenehBar on

Comments

  • Richard HaseltineRichard Haseltine Posts: 108,441

    You can add variables by accessing the member (rather than the engine)

    DzScript::addVariableToGlobalObject()
  • Richard Haseltine said:

    You can add variables by accessing the member (rather than the engine)

    DzScript::addVariableToGlobalObject()

    thank you! I wil lcheck it out. 

Sign In or Register to comment.