fix arg naming in ResourceFormatLoader extension
This commit is contained in:
parent
0626ce50cf
commit
672fa94fb8
@ -70,7 +70,7 @@ void ResourceFormatSaver::get_recognized_extensions(const Ref<Resource> &p_resou
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ResourceFormatSaver::_bind_methods() {
|
void ResourceFormatSaver::_bind_methods() {
|
||||||
GDVIRTUAL_BIND(_save, "path", "resource", "flags");
|
GDVIRTUAL_BIND(_save, "resource", "path", "flags");
|
||||||
GDVIRTUAL_BIND(_recognize, "resource");
|
GDVIRTUAL_BIND(_recognize, "resource");
|
||||||
GDVIRTUAL_BIND(_get_recognized_extensions, "resource");
|
GDVIRTUAL_BIND(_get_recognized_extensions, "resource");
|
||||||
}
|
}
|
||||||
|
@ -26,8 +26,8 @@
|
|||||||
</method>
|
</method>
|
||||||
<method name="_save" qualifiers="virtual">
|
<method name="_save" qualifiers="virtual">
|
||||||
<return type="int" />
|
<return type="int" />
|
||||||
<param index="0" name="path" type="Resource" />
|
<param index="0" name="resource" type="Resource" />
|
||||||
<param index="1" name="resource" type="String" />
|
<param index="1" name="path" type="String" />
|
||||||
<param index="2" name="flags" type="int" />
|
<param index="2" name="flags" type="int" />
|
||||||
<description>
|
<description>
|
||||||
Saves the given resource object to a file at the target [param path]. [param flags] is a bitmask composed with [enum ResourceSaver.SaverFlags] constants.
|
Saves the given resource object to a file at the target [param path]. [param flags] is a bitmask composed with [enum ResourceSaver.SaverFlags] constants.
|
||||||
|
Loading…
Reference in New Issue
Block a user