Skip to content

T_MSCLoader_LoadAssets

piotrulos edited this page Apr 7, 2023 · 4 revisions

LoadAssets Class

Class for Loading custom assets from Assets folder

Inheritance Hierarchy

System.Object
  MSCLoader.LoadAssets
Namespace: MSCLoader
Assembly: MSCLoader (in MSCLoader.dll) Version: 1.2.11.286

Syntax

C#

public static class LoadAssets

View Source
The LoadAssets type exposes the following members.

Methods

 

Name Description
Public methodStatic member LoadBundle(Byte[]) Loads assetbundle from Resources
Public methodStatic member LoadBundle(String) Loads assetbundle from Embedded Resources
Public methodStatic member LoadBundle(Mod, String) Loads assetbundle from Assets folder
Public methodStatic member LoadOBJ **Obsolete. ** Load (.obj) file from mod assets folder and return as GameObject
Public methodStatic member LoadOBJMesh **Obsolete. ** Load (.obj) file from mod assets folder and return as Mesh
Public methodStatic member LoadTexture Load texture (*.dds, *.jpg, *.png, *.tga) from mod assets folder
Public methodStatic member MakeGameObjectPickable Make GameObject Pickable, make sure your GameObject has Rigidbody and colliders attached.
  Back to Top

See Also

Reference

MSCLoader Namespace

Clone this wiki locally