3 changed files with 21 additions and 0 deletions
@ -0,0 +1,4 @@ |
|||
export enum Orientation { |
|||
Landscape = "landscape", |
|||
Portrait = "portrait", |
|||
} |
|||
@ -0,0 +1,4 @@ |
|||
export enum SceneType { |
|||
Normal = 0, // 普通场景 - 退出时销毁
|
|||
Resident = 1, // 常驻场景 - 只隐藏不销毁
|
|||
} |
|||
@ -0,0 +1,13 @@ |
|||
export { Orientation } from './Orientation'; |
|||
export { SceneType } from './SceneType'; |
|||
|
|||
// Legacy exports for backward compatibility
|
|||
export enum EDirection { |
|||
Landscape="landscape", |
|||
Portrait="portrait", |
|||
} |
|||
|
|||
export enum EP { |
|||
Resident, // 常驻场景
|
|||
Normal // 普通场景
|
|||
} |
|||
Loading…
Reference in new issue