Click or drag to resize

ResourceManagerLoadUnmoddedAsync Method (Type, ResourceFolder, String)

Load and cache a resource asynchronously without regarding mods.

If folder is Resources the asset is loaded with If it's not, it's parsed manually with the list of parsers registered.

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

Parameters

type
Type: SystemType
Type of the resource expected.
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