手动创建动画组件报错
#23
-
Beta Was this translation helpful? Give feedback.
Answered by
luzhuang
Sep 7, 2022
Replies: 0 comments 12 replies
-
图片挂了,重新上传下试试? |
Beta Was this translation helpful? Give feedback.
0 replies
-
const animator = scene1.addComponent(Animator); |
Beta Was this translation helpful? Give feedback.
10 replies
Answer selected by
singlecoder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const animator = scene1.addComponent(Animator);
animator.animatorController = scene2(你动画那个模型).getComponent(Animator).animatorController;
试试这样
模型的骨骼命名及层级要一致才可以