Commit 03f8c37c authored by liujiangnan's avatar liujiangnan

feat: 游客模式

parent 1f6737b4
...@@ -236,6 +236,9 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -236,6 +236,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
const avatar_border = cc.find('Canvas/avatar_border'); const avatar_border = cc.find('Canvas/avatar_border');
buttonOnClick(avatar_border, async () => { buttonOnClick(avatar_border, async () => {
if (middleLayerComponent.isLogin == false) {
return;
}
cc.find('Canvas/userInfo').active = true; cc.find('Canvas/userInfo').active = true;
}, 0.7); }, 0.7);
......
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