diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-21 16:54:23 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-21 16:54:23 +0100 |
commit | ebd0b40f6ec2c1db17fa0561f5a3403913032c3b (patch) | |
tree | 57e6fdab1358325977c1ed326af2ff5ad89d353c /doc/classes | |
parent | 5551eed499efebd97875a7f3fc4ef57fd23e8d1d (diff) | |
parent | dddd8d43f618874642a228800187fb0912c46c20 (diff) |
Merge pull request #71687 from reduz/support-script-class-name-in-efs
Support script global resource name in EditorFileSystem
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ResourceFormatLoader.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/ResourceFormatLoader.xml b/doc/classes/ResourceFormatLoader.xml index 2b6376f2cd..bb55123b37 100644 --- a/doc/classes/ResourceFormatLoader.xml +++ b/doc/classes/ResourceFormatLoader.xml @@ -38,6 +38,13 @@ Gets the list of extensions for files this loader is able to read. </description> </method> + <method name="_get_resource_script_class" qualifiers="virtual const"> + <return type="String" /> + <param index="0" name="path" type="String" /> + <description> + Returns the script class name associated with the [Resource] under the given [param path]. If the resource has no script or the script isn't a named class, it should return [code]""[/code]. + </description> + </method> <method name="_get_resource_type" qualifiers="virtual const"> <return type="String" /> <param index="0" name="path" type="String" /> |