Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ sceneChanged
Method
sceneChanged
packages/core/src/Utils/Time.ts:56–62 ·
view source on GitHub ↗
* 场景改变时重置时间
()
Source
from the content-addressed store, hash-verified
54
* 场景改变时重置时间
55
*/
56
public static sceneChanged(): void {
57
this.frameCount = 0;
58
this.totalTime = 0;
59
this.unscaledTotalTime = 0;
60
this.deltaTime = 0;
61
this.unscaledDeltaTime = 0;
62
}
63
64
/**
65
* 检查指定的时间间隔是否已经过去
Callers
1
setScene
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected