跳转到内容

playModeOnly

此内容尚不支持你的语言。

playModeOnly(): boolean

Defined in: env.ts:40

Run condition for gameplay (simulation-advancing) systems: true outside an editor, or inside an editor only while play mode is active. In editor edit mode it returns false, freezing gameplay while render/transform/layout systems (which do not use this gate) keep ticking.

boolean