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