private void Awake() { ClearConsole(); Debug.Log("Launcher 启动"); DontDestroyOnLoad(gameObject); _instance = this; Init(); InitFsm(); Loom.Initialize();//初始化消息监听 }
public StartGameState(FrameworkMain owner) : base((int)MyStage.startGame, owner) { //res = owner.GetManager<ResourceManager>(ManagersName.resource); //lua = owner.GetManager<LuaManager>(ManagersName.lua); }
public CheckStage(FrameworkMain owner) : base((int)MyStage.check, owner) { }