跳至主要內容

Interface: event_protocol

muzzik小于 1 分钟

index / guide_manage_ / event_protocol

Interface: event_protocol

guide_manage_.event_protocol

事件协议

Table of contents

Methods

Methods

pause

pause(): void

暂停

Returns

void

Defined in

assets/@framework/guide/mk_guide_manage.ts:312open in new window


resume

resume(): void

恢复

Returns

void

Defined in

assets/@framework/guide/mk_guide_manage.ts:314open in new window


before_switch

before_switch(next_step_n): void

切换步骤前

Parameters

NameTypeDescription
next_step_nnumber下个步骤

Returns

void

Remarks

set_step 时执行

Defined in

assets/@framework/guide/mk_guide_manage.ts:321open in new window


loading_step

loading_step(): void

加载步骤

Returns

void

Remarks

加载步骤(场景/操作)前调用,可在此处打开遮罩

Defined in

assets/@framework/guide/mk_guide_manage.ts:327open in new window


after_unload_step

after_unload_step(step): void

卸载步骤后

Parameters

NameTypeDescription
stepguide_step_base<any>卸载的步骤

Returns

void

Defined in

assets/@framework/guide/mk_guide_manage.ts:332open in new window


loading_step_complete

loading_step_complete(): void

加载步骤完成

Returns

void

Remarks

步骤 load 执行后调用,可在此处关闭遮罩

Defined in

assets/@framework/guide/mk_guide_manage.ts:338open in new window


break

break(): void

中断

Returns

void

Defined in

assets/@framework/guide/mk_guide_manage.ts:340open in new window


finish

finish(): void

完成

Returns

void

Defined in

assets/@framework/guide/mk_guide_manage.ts:342open in new window

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