# Interface UIConfig

界面配置结构体

### Example

    // 界面唯一标识
    export enum UIID {
       Loading = 1,
       Window,
       Netinstable
    }

    // 打开界面方式的配置数据
    export var UIConfigData: { [key: number]: UIConfig } = {
       [UIID.Loading]: { layer: LayerType.UI, prefab: "loading/prefab/loading", bundle: "resources" },
       [UIID.Netinstable]: { layer: LayerType.PopUp, prefab: "common/prefab/netinstable" },
       [UIID.Window]: { layer: LayerType.Dialog, prefab: "common/prefab/window" }
    }

#### Hierarchy

- UIConfig

- Defined in assets/core/gui/layer/LayerManager.ts:46

#####
Index

### Properties

bundle?
destroy?
layer
mask?
prefab
vacancy?

## Properties

### `Optional` bundle

bundle?: string

远程包名

- Defined in assets/core/gui/layer/LayerManager.ts:49

### `Optional` destroy

destroy?: boolean

是否自动施放

- Defined in assets/core/gui/layer/LayerManager.ts:55

### layer

layer: LayerType

窗口层级

- Defined in assets/core/gui/layer/LayerManager.ts:51

### `Optional` mask

mask?: boolean

是否打开窗口后显示背景遮罩

- Defined in assets/core/gui/layer/LayerManager.ts:61

### prefab

prefab: string

预制资源相对路径

- Defined in assets/core/gui/layer/LayerManager.ts:53

### `Optional` vacancy

vacancy?: boolean

是否触摸非窗口区域关闭

- Defined in assets/core/gui/layer/LayerManager.ts:59

Generated using TypeDoc