1
0
Fork 0

Add note regarding RefCounted to EditorScript docs

(cherry picked from commit e5dc2ed982)
This commit is contained in:
Zak Grumbles 2022-09-23 16:55:19 -05:00 committed by Haoyu Qiu
parent ad97db2da4
commit c703029a28
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@
print("Hello from the Godot Editor!")
[/codeblock]
[b]Note:[/b] The script is run in the Editor context, which means the output is visible in the console window started with the Editor (stdout) instead of the usual Godot [b]Output[/b] dock.
[b]Note:[/b] EditorScript is reference counted, meaning it is destroyed when nothing references it. This can cause errors during asynchronous operations if there are no references to the script.
</description>
<tutorials>
</tutorials>