1
This commit is contained in:
@@ -5,6 +5,7 @@ using CameraShake;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.InputSystem;
|
||||
using UnityEngine.Rendering;
|
||||
@@ -48,11 +49,12 @@ public class GameManager : MonoSingleton<GameManager>
|
||||
}
|
||||
|
||||
}
|
||||
protected override async void Awake()
|
||||
protected override void Awake()
|
||||
{
|
||||
|
||||
AudioResourcesData audioResourcesData=new AudioResourcesData();
|
||||
|
||||
InItLoad();
|
||||
//TurretResourcesData turretResourcesData = new TurretResourcesData();
|
||||
Application.runInBackground = true;
|
||||
|
||||
base.Awake();
|
||||
@@ -68,6 +70,10 @@ public class GameManager : MonoSingleton<GameManager>
|
||||
});
|
||||
|
||||
}
|
||||
public async Task InItLoad()
|
||||
{
|
||||
await TurretResourcesData.LoadTurretAssetsData();
|
||||
}
|
||||
public void StartGame(Action action)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user