Click or drag to resize

ModLoadExAsync Method

Load a resource asynchronously.

Namespace:  Kit.Modding
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public virtual UniTask<(Object reference, string filePath, ResourceParser parser)> LoadExAsync(
	Type type,
	string path
)
Request Example View Source

Parameters

type
Type: SystemType
path
Type: SystemString
Path to the resource.

Return Value

Type: UniTaskValueTupleObject, String, ResourceParser
Reference to the resource, matched file's path, and the parser used to decode it.
See Also