Renders rendering under renders

This commit is contained in:
2022-11-04 12:04:59 +01:00
parent c32fca6a23
commit 0c145b4e5b
5 changed files with 12 additions and 15 deletions

View File

@@ -17,13 +17,7 @@ fn onInit(node: opaque) {
// node.makeChild("assets/scripts/child.toy");
node.makeChild("assets/scripts/render.toy");
print node;
print node.getNodeChild(0);
var o = node.getNodeChild(0);
print o.callNode("getX");
print node.getNodeChild(0).callNode("getX");
node.getNodeChild(0).makeChild("assets/scripts/render.toy");
}
fn onStep(node: opaque) {