diff options
author | Zak Grumbles <zakgrumbles@gmail.com> | 2022-09-23 16:55:19 -0500 |
---|---|---|
committer | Zak Grumbles <zakgrumbles@gmail.com> | 2022-09-23 16:55:19 -0500 |
commit | e5dc2ed98278575ca6d0cae68228995bbc386ada (patch) | |
tree | 689db74879df48e9b8dc1f149ed0acacf06179d7 | |
parent | 658bfb0395fa356f67745de0620628167671d5c6 (diff) |
Add note regarding RefCounted to EditorScript docs
-rw-r--r-- | doc/classes/EditorScript.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/classes/EditorScript.xml b/doc/classes/EditorScript.xml index 2ff8a7ba2a..0895f7536e 100644 --- a/doc/classes/EditorScript.xml +++ b/doc/classes/EditorScript.xml @@ -30,6 +30,7 @@ [/csharp] [/codeblocks] [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 [RefCounted], 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> |