This commit is contained in:
VDH
2025-12-13 15:30:53 +07:00
parent 10fd731948
commit 9b0c3b3dc0
6 changed files with 834 additions and 241 deletions
+1 -2
View File
@@ -31,6 +31,7 @@ public partial class CECGameRun
private static Dictionary<int, CECInstance> m_InstTab = new Dictionary<int, CECInstance>();
public void Init()
{
BMLogger.LogError("CECGameRun Init");
Application.targetFrameRate = 60;
instance = this;
// _gameRunConfig = Resources.Load<GameRunConfig>("GameRunConfig");
@@ -88,7 +89,6 @@ public partial class CECGameRun
if (instance == null)
{
instance = new CECGameRun();
instance.Init();
}
return instance;
}
@@ -145,7 +145,6 @@ public partial class CECGameRun
{
ObjectSpawner.Instance.DestroyGameObject(go, delayTime);
}
public GameObject InitCharacter(info_player_1 info)
{
if (_playerPrefab == null)