Whether the engine is running in the native platform.
Zh
引擎是否正在运行在原生平台。
静态只读isEditor
isEditor:boolean = false
En
Whether the engine is running in the editor. The engine may have two states in the editor, one is running in the scene view of the editor, and the other is running in the game view of the editor. Please distinguish these two states through isPlaying.
Whether the engine is running in the editor. If it is false, it indicates that the engine is running in the scene view of the IDE, otherwise it is true.
Zh
区分引擎是在编辑模式还是播放模式,在IDE的场景视图编辑时,此值为 false,否则为 true。
静态只读isPreview
isPreview:boolean = false
En
Whether the engine is running in the preview mode or the product mode. If it is false, it indicates that the engine is running after the release, otherwise it is true.
Blueprintable