godotjs / godotjs/javascript

Creating an object in js lost all built-in function links

オープン
#191 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
investigation
主要言語
C++
スター
1.1k
フォーク
80
PR マージ指標
30日以内にマージされた PR はありません

説明

When is js I create a new Object :
new MyObject(); which extends Sprite2D, the object is well created, but the functions _process, _ready, _draw and all the built-in functions are not called.
It seems to only happen when I try to create an object which is not initially linked to the scene. I mean, I didn't put the script on an object on my scene in the editor.
I am using Godot 4.0.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。