mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-07-19 00:31:52 -05:00
fix
This commit is contained in:
parent
0c0e8d90c1
commit
a3fbd81c66
|
|
@ -83,7 +83,10 @@ namespace VRM
|
|||
.ToDictionary(x => x.Key, x => boneMap[x.Value])
|
||||
;
|
||||
|
||||
var animator = dst.AddComponent<Animator>();
|
||||
if (dst.GetComponent<Animator>() == null)
|
||||
{
|
||||
var animator = dst.AddComponent<Animator>();
|
||||
}
|
||||
var vrmHuman = go.GetComponent<VRMHumanoidDescription>();
|
||||
var avatarDescription = AvatarDescription.Create();
|
||||
if (vrmHuman != null && vrmHuman.Description != null)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user