future 1 gadu atpakaļ
vecāks
revīzija
d698b8e918
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      assets/script/run/gameManager.ts

+ 3 - 3
assets/script/run/gameManager.ts

@@ -1,6 +1,6 @@
 import { _decorator, AudioClip, AudioSource, Component, Node, Size, Sprite, SpriteFrame, sys, UITransform, Vec3 } from 'cc';
 import { _decorator, AudioClip, AudioSource, Component, Node, Size, Sprite, SpriteFrame, sys, UITransform, Vec3 } from 'cc';
 import { game_run } from './game_run';
 import { game_run } from './game_run';
-import { attributes_data, LevelItemData, other_widget_finish_listen_item, scene_item_data, sysMessage, task_data, ui_att_item, UserData, UserUnlockLevelsData, UserUnlockLevesData, widget_item_data } from '../../data/data';
+import { attributes_data, LevelItemData, other_widget_finish_listen_item, scene_item_data, sysMessage, task_data, ui_att_item, UserData, UserUnlockLevesData, widget_item_data } from '../../data/data';
 import { config } from '../config';
 import { config } from '../config';
 import { sceneManager } from './sceneManager';
 import { sceneManager } from './sceneManager';
 
 
@@ -21,7 +21,7 @@ export class gameManager extends Component {
     private mCurSceneIndex:number =0; //当前第几个场景
     private mCurSceneIndex:number =0; //当前第几个场景
     public static Singleton:gameManager = null;
     public static Singleton:gameManager = null;
     private static g_userData:UserData;
     private static g_userData:UserData;
-    private static g_userUnlockLevesData:UserUnlockLevelsData;
+    private static g_userUnlockLevesData:UserUnlockLevesData;
     public static res_map:Map<string,SpriteFrame> = new Map()
     public static res_map:Map<string,SpriteFrame> = new Map()
     public static mp3_cache:Map<string,AudioClip> = new Map()
     public static mp3_cache:Map<string,AudioClip> = new Map()
     private mLevelData:LevelItemData = null;
     private mLevelData:LevelItemData = null;
@@ -654,7 +654,7 @@ export class gameManager extends Component {
         return event_id;
         return event_id;
     }
     }
 
 
-    public static getUserUnlockLevesData():UserUnlockLevelsData{
+    public static getUserUnlockLevesData():UserUnlockLevesData{
         if(gameManager.g_userUnlockLevesData == null) {
         if(gameManager.g_userUnlockLevesData == null) {
             gameManager.g_userUnlockLevesData = new UserUnlockLevesData()
             gameManager.g_userUnlockLevesData = new UserUnlockLevesData()
         }
         }