global variable C++

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

Post edited by MehdiZangenehBar on

Comments

  • Richard HaseltineRichard Haseltine Posts: 107,953

    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.