 | ModManagerLoadAllAsyncT Method (ResourceFolder, String) |
Load a resource from all mods that have it asynchronously.
Namespace:
Kit.Modding
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic static UniTask<IEnumerable<T>> LoadAllAsync<T>(
ResourceFolder folder,
string file
)
Request Example
View SourceParameters
- folder
- Type: KitResourceFolder
The folder to load the resource from. - file
- Type: SystemString
The path and file-name relative to the folder.
Type Parameters
- T
- Type of the resource expected.
Return Value
Type:
UniTaskIEnumerableTReference to the resource, or
if it was not found.
See Also