mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-10-01 07:11:02 -05:00
Allow external root
This commit is contained in:
@@ -667,7 +667,10 @@ namespace UniGLTF
|
||||
}
|
||||
|
||||
// connect root
|
||||
Root = new GameObject("_root_");
|
||||
if (Root != null)
|
||||
{
|
||||
Root = new GameObject("_root_");
|
||||
}
|
||||
foreach (var x in GLTF.rootnodes)
|
||||
{
|
||||
var t = nodes[x].Transform;
|
||||
|
||||
Reference in New Issue
Block a user