提供对SpriteAnimator中的一些字段的访问

This commit is contained in:
yhh
2020-07-20 13:46:58 +08:00
parent e76d5815f2
commit 2a38858838
7 changed files with 22 additions and 2 deletions

View File

@@ -434,6 +434,7 @@ declare class SpriteAnimator extends SpriteRenderer {
currentAnimationName: string;
currentFrame: number;
readonly isRunning: boolean;
readonly animations: Map<string, SpriteAnimation>;
private _animations;
private _elapsedTime;
private _loopMode;