Click or drag to resize

ModLoadAsync Method (Type, String)

Load a resource asynchronously.

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

Parameters

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

Return Value

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