From e8037d112c802ee626cc3a4572e0b5cf81e1589d Mon Sep 17 00:00:00 2001 From: Masataka SUMI Date: Fri, 22 Oct 2021 20:32:21 +0900 Subject: [PATCH] refactoring --- Assets/VRM/Runtime/IO/VRMExporter.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/VRM/Runtime/IO/VRMExporter.cs b/Assets/VRM/Runtime/IO/VRMExporter.cs index 91b1d80a3..abbfb3867 100644 --- a/Assets/VRM/Runtime/IO/VRMExporter.cs +++ b/Assets/VRM/Runtime/IO/VRMExporter.cs @@ -12,11 +12,6 @@ namespace VRM { public const Axes VrmSpecificationInverseAxis = Axes.Z; - protected override IMaterialExporter CreateMaterialExporter() - { - return new VRMMaterialExporter(); - } - public static glTF Export(GltfExportSettings configuration, GameObject go, ITextureSerializer textureSerializer) { var gltf = new glTF(); @@ -40,6 +35,11 @@ namespace VRM gltf.extensionsUsed.Add(glTF_VRM_extensions.ExtensionName); } + protected override IMaterialExporter CreateMaterialExporter() + { + return new VRMMaterialExporter(); + } + public override void ExportExtensions(ITextureSerializer textureSerializer) { // avatar