Files
2025-12-13 23:32:56 +08:00

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