(client) feat:实现热重载
This commit is contained in:
@ -1,18 +1,7 @@
|
||||
using Logging;
|
||||
using UnityEngine;
|
||||
|
||||
public class Program : MonoBehaviour
|
||||
public class Program : Utils.Singleton<Program>
|
||||
{
|
||||
private void Awake()
|
||||
{
|
||||
UnityLogger.Init();
|
||||
Managers.DefineManager.Instance.Init();
|
||||
Managers.PackagesImageManager.Instance.Init();
|
||||
Managers.TileManager.Instance.Init();
|
||||
}
|
||||
|
||||
private void Start()
|
||||
{
|
||||
Debug.Log("Starting game...");
|
||||
}
|
||||
public bool needLoad = true;
|
||||
}
|
Reference in New Issue
Block a user