修复scenecomponent遍历更新报错

This commit is contained in:
yhh
2020-12-01 20:02:45 +08:00
parent 0d8878abef
commit f9284e9d8e
4 changed files with 7 additions and 12 deletions

View File

@@ -362,7 +362,7 @@ declare module es {
/**
* 当Core将这个场景设置为活动场景时这个将被调用
*/
onStart(): Promise<void>;
onStart(): void;
/**
* 在场景子类中重写这个,并在这里做任何必要的卸载。
* 当Core把这个场景从活动槽中移除时这个被调用。