fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user