1
0
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:
Bruno Ortiz
2017-01-02 10:37:22 -02:00
committed by Rémi Verschelde
parent c7bc44d5ad
commit 7e0d0d0bb9
3 changed files with 14 additions and 0 deletions

View File

@@ -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>