mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-22 23:18:01 -05:00
updated docs
This commit is contained in:
parent
c53b63f001
commit
da28ca1dbe
|
|
@ -55,10 +55,10 @@ namespace MeshUtility
|
|||
}
|
||||
}
|
||||
|
||||
[MenuItem("Mesh Utility/MeshSeparator Docs", priority = MeshUtility.MENU_PRIORITY)]
|
||||
[MenuItem("Mesh Utility/MeshUtility Docs", priority = MeshUtility.MENU_PRIORITY)]
|
||||
public static void LinkToMeshSeparatorDocs()
|
||||
{
|
||||
Application.OpenURL("https://github.com/vrm-c/UniVRM/tree/master/Assets/MeshUtility");
|
||||
Application.OpenURL("https://github.com/vrm-c/UniVRM/blob/master/Assets/UniGLTF/MeshUtility/README.md");
|
||||
}
|
||||
|
||||
private static void SeparationProcessing(GameObject go)
|
||||
|
|
|
|||
|
|
@ -35,11 +35,11 @@ You can add MeshUtility package via `UPM`. First click `Window` from menu on top
|
|||
|
||||
<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/MeshUtility`.
|
||||
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. You shall see MeshUtility in the `Packages` folder.
|
||||
Now check your project window. In `Packages`, MeshUtility should be in the `UniGLTF` folder.
|
||||
|
||||
### 2. Add package name and its url in manifest.json
|
||||
|
||||
|
|
@ -48,11 +48,8 @@ Another way of importing MeshUtility is manually adding necessary information in
|
|||
```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",
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Go back to the Unity project. The system will automatically load the package.
|
||||
|
||||
<img src="Documentation/images/installation_3.jpg" width="200">
|
||||
|
|
|
|||
|
|
@ -148,6 +148,14 @@ namespace VRM
|
|||
[LangMsg(Languages.en, "Redistribution / Modifications License")]
|
||||
REDISTRIBUTION_MODIFICATIONS,
|
||||
|
||||
[LangMsg(Languages.ja, "Camera.main で画像を Render します")]
|
||||
[LangMsg(Languages.en, "Create a thumbnail image by Camera.main")]
|
||||
SCREENSHOT,
|
||||
|
||||
[LangMsg(Languages.ja, "スクリーンショット")]
|
||||
[LangMsg(Languages.en, "Screenshot")]
|
||||
SCREENSHOT_BUTTON,
|
||||
|
||||
// [LangMsg(Languages.ja, "")]
|
||||
// [LangMsg(Languages.en, "")]
|
||||
}
|
||||
|
|
@ -183,8 +191,8 @@ namespace VRM
|
|||
|
||||
if (Camera.main)
|
||||
{
|
||||
EditorGUILayout.HelpBox("Camera.main で画像を Render します。", MessageType.Info);
|
||||
if (GUILayout.Button("スクリーンショット"))
|
||||
EditorGUILayout.HelpBox(MessageKeys.SCREENSHOT.Msg(), MessageType.Info);
|
||||
if (GUILayout.Button(MessageKeys.SCREENSHOT_BUTTON.Msg()))
|
||||
{
|
||||
TakeScreenShot();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user