[SOLVED] ObjectText from Script


photo

Recommended Posts

Hello there,

I have one ObjectText node object in my scene. I want to access it from Script.

ObjectText text56Big;

int iNodeIndex = engine.editor.findNode("56_Big");
Node node1 = engine.editor.getNode(iNodeIndex);

//How Can I cast this node to ObjectText?
text56Big = ??

I want to cast this node to ObjectText and wanna change the text at runtime.

Please suggest.

Rohit

Link to post
  • 2 weeks later...
  • morbid changed the title to [SOLVED] ObjectText from Script