mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-27 13:24:42 -05:00
fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user