mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-13 22:01:18 -05:00
rename RuntimeGltfInstance
This commit is contained in:
@@ -97,7 +97,7 @@ namespace VRM.Samples
|
||||
Debug.LogFormat("meta: title:{0}", meta.Title);
|
||||
|
||||
// ParseしたJSONをシーンオブジェクトに変換していく
|
||||
var loaded = default(UnityObjectManager);
|
||||
var loaded = default(RuntimeGltfInstance);
|
||||
if (m_loadAsync)
|
||||
{
|
||||
loaded = await context.LoadAsync();
|
||||
@@ -136,7 +136,7 @@ namespace VRM.Samples
|
||||
parser.ParseGlb(bytes);
|
||||
|
||||
var context = new VRMImporterContext(parser);
|
||||
var loaded = default(UnityObjectManager);
|
||||
var loaded = default(RuntimeGltfInstance);
|
||||
if (m_loadAsync)
|
||||
{
|
||||
loaded = await context.LoadAsync();
|
||||
@@ -167,7 +167,7 @@ namespace VRM.Samples
|
||||
#endif
|
||||
}
|
||||
|
||||
void OnLoaded(UnityObjectManager loaded)
|
||||
void OnLoaded(RuntimeGltfInstance loaded)
|
||||
{
|
||||
var root = loaded.gameObject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user