You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Exposing edit_resource method of EditorNode in the EditorPlugin (#7355)
This commit is contained in:
committed by
Rémi Verschelde
parent
c7bc44d5ad
commit
7e0d0d0bb9
@@ -11859,6 +11859,13 @@
|
||||
Get the main editor control. Use this as a parent for main screens.
|
||||
</description>
|
||||
</method>
|
||||
<method name="edit_resource">
|
||||
<argument index="0" name="p_resource" type="Resource">
|
||||
</argument>
|
||||
<description>
|
||||
Tells the editor to handle the edit of the given resource. Ex: If you pass a Script as a argument, the editor will open the scriptEditor.
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_name" qualifiers="virtual">
|
||||
<return type="String">
|
||||
</return>
|
||||
|
||||
Reference in New Issue
Block a user