## Index

### Functions

- modifyEngineConfig

### Object literals

- EngineConfig

## Functions

### modifyEngineConfig

- modifyEngineConfig(_options: any): void

- - Defined in engine-config.ts:51

  注入配置

  #### Parameters

  - ##### _options: any

  #### Returns void

## Object literals

### Const EngineConfig

EngineConfig: object

- Defined in engine-config.ts:12

针对引擎的配置

### awakeComponentWhenAdded

awakeComponentWhenAdded: boolean = true

- Defined in engine-config.ts:28

组件被添加到实体树上时是否执行onAwake方法

### componentEnabled

componentEnabled: boolean = true

- Defined in engine-config.ts:24

组件实例化时enabled的初始值

### drawRenderRect

drawRenderRect: boolean = false

- Defined in engine-config.ts:36

是否绘制渲染边界矩形

### editorMode

editorMode: boolean = false

- Defined in engine-config.ts:44

是否是编辑器模式

### entityEnabled

entityEnabled: boolean = true

- Defined in engine-config.ts:20

实体实例化时enabled的初始值

### imgCrossOrigin

imgCrossOrigin: boolean = true

- Defined in engine-config.ts:40

image加载时是否开启跨域

### lineHeightRatio

lineHeightRatio: number = 1.2

- Defined in engine-config.ts:16

文本渲染的行高比

### sleepComponentWhenRemoved

sleepComponentWhenRemoved: boolean = true

- Defined in engine-config.ts:32

组件从实体树上被移除时是否执行onSleep方法

Generated using TypeDoc