 | ModLoad Method (Type, ResourceFolder, String) |
Load a resource.
Namespace:
Kit.Modding
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntaxpublic Object Load(
Type type,
ResourceFolder folder,
string file
)
Request Example
View SourceParameters
- 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:
ObjectReference to the resource, or
if it was not found.
See Also