Commit 88ce8fec authored by liwei's avatar liwei

fix: 进页面先初始化酷猫

开场动画在 coolCat 赋值前播放,getComponent 读到空节点。
Co-authored-by: 's avatarCursor <cursoragent@cursor.com>
parent 858ee97a
......@@ -166,11 +166,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
initView() {
// 初始化界面
this.initCoolCat();
this.initLoadingLayer();
this.initOfflineLayer();
this.initPronunciationTestLayer();
this.initSharkBG();
this.initCoolCat();
this.initSeagull();
this.initBox();
this.initTurntable();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment