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