mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-22 18:45:06 -05:00
fix generator
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace UniGLTF
|
||||
|
||||
public string GenerateDeserializerCall(string callName, string argName)
|
||||
{
|
||||
return $"new glTFExtension({argName})";
|
||||
return $"new glTFExtensionImport({argName})";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UniJSON;
|
||||
using UnityEngine;
|
||||
|
||||
namespace UniGLTF {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user