From a7684178b76a1da256f69d3072a9adc803681d46 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 26 Aug 2020 11:41:16 +0900 Subject: [PATCH] =?UTF-8?q?unitypackage=20=E3=81=AB=20MeshUtility=20?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UniVRM/DevOnly/Editor/VRMExportUnityPackage.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Assets/VRM/UniVRM/DevOnly/Editor/VRMExportUnityPackage.cs b/Assets/VRM/UniVRM/DevOnly/Editor/VRMExportUnityPackage.cs index 77386bdbd..c124904cd 100644 --- a/Assets/VRM/UniVRM/DevOnly/Editor/VRMExportUnityPackage.cs +++ b/Assets/VRM/UniVRM/DevOnly/Editor/VRMExportUnityPackage.cs @@ -131,9 +131,18 @@ namespace VRM.DevOnly.PackageExporter } [MenuItem(VRMVersion.MENU + "/Export unitypackage")] + static void CreateUnityPackageWithoutBuild() + { + var folder = GetProjectRoot(); + if (!Directory.Exists(folder)) + { + Directory.CreateDirectory(folder); + } + CreateUnityPackages(folder); + } + public static void CreateUnityPackageWithBuild() { - //var folder = GetDesktop(); var folder = GetProjectRoot(); if (!Directory.Exists(folder)) { @@ -194,6 +203,7 @@ namespace VRM.DevOnly.PackageExporter List = new []{ new GlobList("Assets/VRM"), new GlobList("Assets/VRMShaders"), + new GlobList("Assets/MeshUtility"), } }, new PackageInfo("UniVRM-samples")