Deprecate get_scene() in EditorScript class

This commit is contained in:
robert yevdokimov
2025-08-05 16:20:39 +04:00
committed by Robert Yevdokimov
parent 5950fca36c
commit 292772a143
3 changed files with 11 additions and 1 deletions

View File

@ -53,7 +53,7 @@
Returns the [EditorInterface] singleton instance.
</description>
</method>
<method name="get_scene" qualifiers="const">
<method name="get_scene" qualifiers="const" deprecated="Use [method EditorInterface.get_edited_scene_root] instead.">
<return type="Node" />
<description>
Returns the edited (current) scene's root [Node]. Equivalent of [method EditorInterface.get_edited_scene_root].