Method LoadMesh
| Edit this page 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 |