init
This commit is contained in:
@ -29,6 +29,7 @@ function init() {
|
||||
animator.setMorphTargetAdapter(morphAdapter);
|
||||
|
||||
// 导出全局变量供表情库使用
|
||||
window.animator = animator;
|
||||
window.setIdleAnimation = (name, target, duration, easing) => {
|
||||
animator.setIdleAnimation(name, target, duration, easing);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user