Hi Everyone. How to add child to hierarchy with script?
I tried like this:
rn.objects.OBJECT_A.createInstance("Game", 100, 200, true);
OBJECT_A.addChild(OBJECT_B);
But nothing happens...
Here is instruction. But how right use it?
addChild(wi, true) -> not working
addChild(wi, "transformX") -> not working
Maybe I did something wrong? Can someone show example how to add in the hierarchy