Made possible to specify where to dump the contents when loading a ".pck" file
(cherry picked from commit 3c261e0dfa)
This commit is contained in:
committed by
Rémi Verschelde
parent
008e0748c1
commit
ffcfd9c8ea
@ -92,8 +92,10 @@
|
||||
</argument>
|
||||
<argument index="1" name="replace_files" type="bool" default="true">
|
||||
</argument>
|
||||
<argument index="2" name="destination" type="String" default="">
|
||||
</argument>
|
||||
<description>
|
||||
Loads the contents of the .pck or .zip file specified by [code]pack[/code] into the resource filesystem ([code]res://[/code]). Returns [code]true[/code] on success.
|
||||
Loads the contents of the .pck or .zip file specified by [code]pack[/code] into the resource filesystem ([code]res://[/code]) at the [code]destination[/code] path, if given. Returns [code]true[/code] on success.
|
||||
[b]Note:[/b] If a file from [code]pack[/code] shares the same path as a file already in the resource filesystem, any attempts to load that file will use the file from [code]pack[/code] unless [code]replace_files[/code] is set to [code]false[/code].
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user