mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-22 19:06:55 -05:00
37 lines
1.3 KiB
Markdown
37 lines
1.3 KiB
Markdown
# MeshUtility
|
|
|
|
Mesh processing tool in Unity platform.
|
|
|
|
## Utilities
|
|
|
|
[Details can be found here](https://vrm.dev/en/docs/univrm/gltf/mesh_utility/)
|
|
|
|
## Import MeshUtility
|
|
|
|
There are two ways to import MeshUtility into a Unity project.
|
|
|
|
### 1. Unity Package Manager (from Unity 2019)
|
|
|
|
You can add MeshUtility package via `UPM`. First click `Window` at the top of Unity Editor, then select `Package Manager`.
|
|
|
|
<img src="Documentation/images/installation_1.jpg" width="200">
|
|
|
|
In `Package Manager`, click `Add package from git URL` and paste `https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders` and `https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF`
|
|
|
|
<img src="Documentation/images/installation_2.jpg" width="200">
|
|
|
|
Now check your project window. In `Packages`, MeshUtility should be included in the `UniGLTF` folder.
|
|
|
|
### 2. Add package name and its url in manifest.json
|
|
|
|
Another way of importing MeshUtility is manually adding necessary information in manifest.json, which is in the directory of `Package folder` in your Unity project. Open manifest.json with text editor and add the followings in `dependencies`:
|
|
|
|
```json
|
|
{
|
|
"dependencies": {
|
|
"com.vrmc.vrmshaders": "https://github.com/vrm-c/UniVRM.git?path=/Assets/VRMShaders",
|
|
"com.vrmc.unigltf": "https://github.com/vrm-c/UniVRM.git?path=/Assets/UniGLTF",
|
|
}
|
|
}
|
|
```
|