Click or drag to resize

PCKPackerAddFile Method

Adds the source_path file to the current PCK package at the pck_path internal path (should start with res://).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error AddFile(
	string pckPath,
	string sourcePath
)

Parameters

pckPath
Type: SystemString

[Missing <param name="pckPath"/> documentation for "M:Godot.PCKPacker.AddFile(System.String,System.String)"]

sourcePath
Type: SystemString

[Missing <param name="sourcePath"/> documentation for "M:Godot.PCKPacker.AddFile(System.String,System.String)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.PCKPacker.AddFile(System.String,System.String)"]

See Also