跳至主要內容

Class: regis_config<CT>

muzzik小于 1 分钟

index / ui_manage_ / regis_config

Class: regis_config<CT>

ui_manage_.regis_config

模块注册配置

Type parameters

NameType
CTextends cc.Constructor<view_base>

Hierarchy

Table of contents

Constructors

Properties

Constructors

constructor

new regis_config<CT>(init_?)

Type parameters

NameType
CTextends Constructor<view_base>

Parameters

NameType
init_?Partial<regis_config<CT>>

Defined in

assets/@framework/mk_ui_manage.ts:742open in new window

Properties

repeat_b

repeat_b: boolean = false

重复打开

Default Value

false

Defined in

assets/@framework/mk_ui_manage.ts:759open in new window


parent

parent: undefined | Node

默认父节点

Default Value

Canvas 节点

Defined in

assets/@framework/mk_ui_manage.ts:765open in new window


load_config

Optional load_config: get_config<Prefab, Prefab>

加载配置

Defined in

assets/@framework/mk_ui_manage.ts:767open in new window


pool_fill_n

pool_fill_n: number

对象池数量不足时扩充数量

Default Value

this.repeat_b ? 8 : 1

Defined in

assets/@framework/mk_ui_manage.ts:773open in new window


pool_max_hold_n

pool_max_hold_n: number = -1

对象池最大保留数量

Default Value

-1: 不启用

Defined in

assets/@framework/mk_ui_manage.ts:779open in new window


pool_init_fill_n

pool_init_fill_n: number = 1

对象池初始化扩充数量

Default Value

1

Defined in

assets/@framework/mk_ui_manage.ts:785open in new window

📣 觉得很赞?分享给你的朋友吧!