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