Skip to content

Commit

Permalink
Merge pull request #1854 from ousttrue/fix/upm
Browse files Browse the repository at this point in the history
UniGLTF_Samples 漏れ
  • Loading branch information
ousttrue authored Oct 7, 2022
2 parents ba197f6 + 314fb6d commit cd48f37
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
9 changes: 8 additions & 1 deletion Assets/UniGLTF/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@
"dependencies": {
"com.vrmc.vrmshaders": "0.105.0",
"com.unity.modules.animation": "1.0.0"
}
},
"samples": [
{
"displayName": "GltfViewer",
"description": "UniGLTF runtime loader sample",
"path": "Samples~/GltfViewer"
}
]
}
13 changes: 10 additions & 3 deletions Assets/VRM/Editor/Format/VRMVersionMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ public UpmPackage(string path, string template)
@"{{
""name"": ""com.vrmc.vrm"",
""version"": ""{1}"",
""displayName"": ""VRM-1."",
""description"": ""VRM-1. importer"",
""displayName"": ""VRM-1.0"",
""description"": ""VRM-1.0 importer"",
""unity"": ""2019.4"",
""keywords"": [
""vrm"",
Expand Down Expand Up @@ -186,7 +186,14 @@ public UpmPackage(string path, string template)
""dependencies"": {{
""com.vrmc.vrmshaders"": ""{1}"",
""com.unity.modules.animation"": ""1.0.0""
}}
}},
""samples"": [
{{
""displayName"": ""GltfViewer"",
""description"": ""UniGLTF runtime loader sample"",
""path"": ""Samples~/GltfViewer""
}}
]
}}");

[SerializeField]
Expand Down
4 changes: 2 additions & 2 deletions Assets/VRM10/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "com.vrmc.vrm",
"version": "0.105.0",
"displayName": "VRM-1.",
"description": "VRM-1. importer",
"displayName": "VRM-1.0",
"description": "VRM-1.0 importer",
"unity": "2019.4",
"keywords": [
"vrm",
Expand Down

0 comments on commit cd48f37

Please sign in to comment.