fix generator

This commit is contained in:
ousttrue
2020-11-26 15:16:02 +09:00
parent 59628a882c
commit 719a8ecddf
4 changed files with 4 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ namespace UniGLTF
get
{
return Path.Combine(UnityEngine.Application.dataPath,
"VRM/UniGLTF/Scripts/IO/GltfDeserializer.g.cs");
"UniGLTF/UniGLTF/Scripts/IO/GltfDeserializer.g.cs");
}
}

View File

@@ -16,7 +16,7 @@ namespace UniGLTF
public string GenerateDeserializerCall(string callName, string argName)
{
return $"new glTFExtension({argName})";
return $"new glTFExtensionImport({argName})";
}
}
}

View File

@@ -19,7 +19,7 @@ namespace UniGLTF
get
{
return Path.Combine(UnityEngine.Application.dataPath,
"VRM/UniGLTF/Scripts/IO/FormatterExtensionsGltf.g.cs");
"UniGLTF/UniGLTF/Scripts/IO/FormatterExtensionsGltf.g.cs");
}
}
@@ -115,8 +115,6 @@ namespace UniGLTF
using System;
using System.Collections.Generic;
using UniJSON;
using UnityEngine;
using VRM;
namespace UniGLTF {
@@ -297,7 +295,7 @@ namespace UniGLTF {
{
}
else if (fi.FieldType == typeof(glTF_KHR_materials_unlit))
else if (fi.FieldType == typeof(glTFExtension))
{
}

View File

@@ -2,7 +2,6 @@
using System;
using System.Collections.Generic;
using UniJSON;
using UnityEngine;
namespace UniGLTF {