新增time.totalTime

This commit is contained in:
yhh
2020-11-25 11:37:24 +08:00
parent 101d720f2a
commit 015a3b633a
5 changed files with 14 additions and 13 deletions

View File

@@ -638,11 +638,12 @@ declare class StringUtils {
}
declare module es {
class Time {
static totalTime: number;
static unscaledDeltaTime: any;
static deltaTime: number;
static timeScale: number;
static frameCount: number;
static _timeSinceSceneLoad: any;
static timeSinceSceneLoad: any;
private static _lastTime;
static update(currentTime: number): void;
static sceneChanged(): void;