Print

Community Forums/Monkey Talk/Print

Jur(Posted 2011) [#1]
I get no output from the Print command inside the OnUpdate part of the code. It only works within the OnRedner method(s). Is that normal behavior? If it is, then how do you check at runtime variables and debug your update code? I canīt imagine being without a way to trace code, when it gets more complex.


Canardian(Posted 2011) [#2]
You can use some global variables or fields which you set in the OnUpdate method and then display them in the OnRender method.


skidracer(Posted 2011) [#3]
Is OnUpdate even being called?

Are you calling SetUpdateRate from OnCreate?


Jur(Posted 2011) [#4]
Thanks skidracer. SetUpdateRate was missing.


Brucey(Posted 2011) [#5]
Are you calling SetUpdateRate from OnCreate?

I was just such a noob today too... :-/