Browse Source

feat: 优化

chenjixiang 1 year ago
parent
commit
3af45bca9c

+ 1 - 1
assets/Script/Loading.ts

@@ -30,7 +30,7 @@ export default class Loading extends cc.Component {
         this.scheduleOnce((): void => {
           const sceneName: string = "Main";
           cc.director.loadScene(sceneName);
-        }, t * str.length + 0.3);
+        }, 2);
 
 
         this.privacyBtn.on('click',this.privacyEvent,this)

+ 3 - 3
assets/Script/Main/UIRank.ts

@@ -27,7 +27,7 @@ export default class UIRank extends cc.Component {
 
     start () {
 
-        
+
     }
     protected onEnable(): void {
         this.closeBtn.node.on('click',this.closeEvent,this)
@@ -45,11 +45,11 @@ export default class UIRank extends cc.Component {
                 CCUtils.getLabel(node, 'score').string = gameModel.historyScores[i - 1].toString();
                 CCUtils.getLabel(node, 'name').string = Utiles.random(1, 20).toString();
             }
-    
+
             CCUtils.getLabel(this.node, 'tcBg/goatLabel').string = 'Highest score: ' + maxNum.toString();
         }
     }
-    
+
     protected onDisable(): void {
         this.closeBtn.node.off('click',this.closeEvent,this)
     }

+ 0 - 13
assets/Texture/UI/Home.meta

@@ -1,13 +0,0 @@
-{
-  "ver": "1.1.3",
-  "uuid": "c64e1682-09e7-4efb-bbf8-395735cabebb",
-  "importer": "folder",
-  "isBundle": false,
-  "bundleName": "",
-  "priority": 1,
-  "compressionType": {},
-  "optimizeHotUpdate": {},
-  "inlineSpriteFrames": {},
-  "isRemoteBundle": {},
-  "subMetas": {}
-}

+ 0 - 13
assets/Texture/UI/Rank.meta

@@ -1,13 +0,0 @@
-{
-  "ver": "1.1.3",
-  "uuid": "c0141513-bfb3-49ea-b4a2-3bdc3e35279d",
-  "importer": "folder",
-  "isBundle": false,
-  "bundleName": "",
-  "priority": 1,
-  "compressionType": {},
-  "optimizeHotUpdate": {},
-  "inlineSpriteFrames": {},
-  "isRemoteBundle": {},
-  "subMetas": {}
-}

+ 0 - 13
assets/Texture/UI/Store.meta

@@ -1,13 +0,0 @@
-{
-  "ver": "1.1.3",
-  "uuid": "34cf5e20-612e-4578-a5b8-4e1fde14f839",
-  "importer": "folder",
-  "isBundle": false,
-  "bundleName": "",
-  "priority": 1,
-  "compressionType": {},
-  "optimizeHotUpdate": {},
-  "inlineSpriteFrames": {},
-  "isRemoteBundle": {},
-  "subMetas": {}
-}