This commit is contained in:
yinsx
2025-12-26 15:51:59 +08:00
parent 43ffe4486a
commit ea4bc6502d
3 changed files with 36 additions and 8 deletions

View File

@ -29,6 +29,7 @@ function init() {
animator.setMorphTargetAdapter(morphAdapter);
// 导出全局变量供表情库使用
window.animator = animator;
window.setIdleAnimation = (name, target, duration, easing) => {
animator.setIdleAnimation(name, target, duration, easing);
};