Animator.Rebind

Animator.Rebind

https://docs.unity3d.com/ScriptReference/Animator.Rebind.html

public void Rebind();

Description

Rebind all the animated properties and mesh data with the Animator.

This function can be used when you manually change your GameObject hierarchy by script, like combining meshes or swap a complete transform hierarchy.

发布了59 篇原创文章 · 获赞 36 · 访问量 3万+

猜你喜欢

转载自blog.csdn.net/kuangben2000/article/details/104007515