Files
oops-plugin-framework/assets/libs/model-view/VMEnv.ts
2025-09-04 20:19:59 +08:00

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;
}
}