mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-06-23 19:22:47 +08:00
10 lines
202 B
TypeScript
10 lines
202 B
TypeScript
import { EDITOR_NOT_IN_PREVIEW } from 'cc/env';
|
|
|
|
/** VM组件环境验证 */
|
|
export class VMEnv {
|
|
/** 编辑状态 */
|
|
static get editor() {
|
|
return EDITOR_NOT_IN_PREVIEW;
|
|
}
|
|
}
|