Method LoadMesh
| Improve this Doc View SourceLoadMesh(string)
Loads a mesh from a .obj file at runtime.
Declaration
public static Mesh LoadMesh(string meshPath)
Parameters
Type | Name | Description |
---|---|---|
string | meshPath | Mesh path relative to "plugins" BepInEx folder |
Returns
Type | Description |
---|---|
Mesh | Texture2D loaded, or null if invalid path |