pinball/assets/_Game/Scripts/Gizmos/Define.ts

5 lines
178 B
TypeScript
Raw Normal View History

2024-06-07 00:10:54 -07:00
import { EDITOR, EDITOR_NOT_IN_PREVIEW } from 'cc/env';
export const cce = EDITOR_NOT_IN_PREVIEW && (window as any).cce;
export const Editor = EDITOR && (window as any).Editor;