|
@@ -75,13 +75,9 @@ export class PreloadingScene extends Component {
|
|
|
|
|
|
private initLocalData():void{
|
|
|
// //清除本地数据
|
|
|
- GameModel.single.ClearLocalData();
|
|
|
+ // GameModel.single.ClearLocalData();
|
|
|
GameModel.single.ReadByLocal();
|
|
|
SceneManager.single.Swicth("PrepareScene");
|
|
|
-
|
|
|
- loader.loadRes("sounds/main",AudioClip,(err:Error,asset:AudioClip)=>{
|
|
|
- asset.play();
|
|
|
- })
|
|
|
}
|
|
|
|
|
|
// //假进度条
|