|
@@ -19,6 +19,8 @@ export default class XAnimationController {
|
|
|
this.iFaceAnim = void 0,
|
|
|
this.onPlayObservable = new Observable,
|
|
|
this.playAnimation = (i,o,s=0,c,d,_)=>new Promise((b,k)=>{
|
|
|
+ // zeg 传入i为任意动画名即可播放该动画,比如"GiftClap"
|
|
|
+ // window.room.avatarManager.avatars.get(window.room.userId).playAnimation({"animationName": "GiftClap", "loop":true})
|
|
|
if (this._isPlaying(i, s) || (this._registerAnimInfo(i, o, s, c, d, _),
|
|
|
!this._isAnimate()))
|
|
|
return b(null);
|