Added some node functionality to scripts

This commit is contained in:
2022-10-07 10:25:09 +01:00
parent ecaf554b9a
commit 6b5cd7f580
5 changed files with 306 additions and 19 deletions

11
assets/scripts/child.toy Normal file
View File

@@ -0,0 +1,11 @@
fn onInit(node: opaque) {
print "child.toy:onInit() called";
}
fn onStep(node: opaque) {
print "child.toy:onStep()";
}
fn onFree(node: opaque) {
print "child.toy:onFree() called";
}