Add nativescript frame callback, deprecate NimRuntime
This commit is contained in:
parent
e587fdf382
commit
0062568dbc
5 changed files with 19 additions and 16 deletions
|
|
@ -3,6 +3,9 @@
|
|||
import asyncdispatch
|
||||
import godot, node
|
||||
|
||||
{.warning: ("NimRuntime is deprecated - it is no longer necessary to add it " &
|
||||
"as an AutoLoad class. It will be removed in v0.5.0.").}
|
||||
|
||||
gdobj NimRuntime of Node:
|
||||
method enterTree*() =
|
||||
discard getTree().connect("idle_frame", self, "idle", newArray())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue