Click or drag to resize

ModLoadAsync Method (ResourceFolder, String)

Load a resource asynchronously.

Namespace:  Kit.Modding
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public UniTask<Object> LoadAsync(
	ResourceFolder folder,
	string file
)
Request Example View Source

Parameters

folder
Type: KitResourceFolder
The folder to load the resource from.
file
Type: SystemString
The path and file-name relative to the folder.

Return Value

Type: UniTaskObject
Reference to the resource, or if it was not found.
See Also