Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/esengine/esengine
/ shouldEnableGameLogic
Function
shouldEnableGameLogic
packages/runtime-core/src/RuntimeMode.ts:188–190 ·
view source on GitHub ↗
(mode: RuntimeMode)
Source
from the content-addressed store, hash-verified
186
* @en Check
if
mode should enable game logic
187
*/
188
export
function
shouldEnableGameLogic(mode: RuntimeMode): boolean {
189
return
mode === RuntimeMode.EditorPreview || mode === RuntimeMode.Standalone;
190
}
Callers
1
setMode
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected