Exemplo n.º 1
0
Arquivo: Main.cs Projeto: WeeirJoe/Joe
    void Create()
    {
        Log = new Log();
        LayerManager.Init();
        //不受状态机控制,仅打开和关闭的
        PersistMgr = PersistDialogMgr.Ins;
        //面板管理器.
        DialogStateManager = new MainDialogMgr();
        //顺序排队弹出框.
        PopupStateManager = new MainPopupStateManager();
        //各类游戏数据.
        GameStateMgr  = GameStateMgr.Ins;
        AppInfo       = AppInfo.Ins;
        CombatData    = CombatData.Ins;
        GameNotice    = new GameNotice();
        MeteorManager = MeteorManager.Ins;
        ScriptMng     = ScriptMng.Ins;

        ActionInterrupt = ActionInterrupt.Ins;

        BuffMng       = BuffMng.Ins;
        EventBus      = new EventBus();
        NetWorkBattle = NetWorkBattle.Ins;
        SceneMng      = SceneMng.Ins;

        //FrameSyncLocal = FrameSyncLocal.Ins;
        FrameSyncServer = FrameSyncServer.Ins;

        MeteorBehaviour = MeteorBehaviour.Ins;
        DropMng         = DropMng.Ins;
        //原版相关资源的加载器.
        MenuResLoader    = MenuResLoader.Ins;
        SkcLoader        = SkcLoader.Ins;
        BncLoader        = BncLoader.Ins;
        FMCLoader        = FMCLoader.Ins;
        GMBLoader        = GMBLoader.Ins;
        GMCLoader        = GMCLoader.Ins;
        DesLoader        = DesLoader.Ins;
        FMCPoseLoader    = FMCPoseLoader.Ins;
        SFXLoader        = SFXLoader.Ins;
        AmbLoader        = AmbLoader.Ins;
        DataMgr          = DataMgr.Ins;
        SfxMeshGenerator = SfxMeshGenerator.Ins;
        RoomMng          = RoomMng.Ins;
        SoundManager     = SoundManager.Ins;
        DlcMng           = DlcMng.Ins;
        PathMng          = PathMng.Ins;
        DownloadManager  = DownloadManager.Ins;
        DontDestroyOnLoad(gameObject);
        Log.WriteError(string.Format("GameStart AppVersion:{0}", Main.Ins.AppInfo.AppVersion()));
    }
Exemplo n.º 2
0
 public WorldTemplateDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 3
0
 public ServerListDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 4
0
 public MainLobbyDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 5
0
 public EscConfirmDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 6
0
 public CampSelectDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 7
0
 public LoginDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 8
0
 public StartupDialogState(MainDialogMgr stateManager) : base(stateManager)
 {
 }
Exemplo n.º 9
0
 public RobotDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 10
0
 public ConnectDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 11
0
 public SfxDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 12
0
 public MatchDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 13
0
 public EscDialogState(MainDialogMgr dialgState) : base(dialgState)
 {
 }
Exemplo n.º 14
0
 public UpdateDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 15
0
 public MainMenuState(MainDialogMgr dialogMgr) : base(dialogMgr)
 {
 }
Exemplo n.º 16
0
 public WeaponSelectDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 17
0
 public UIAdjustDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 18
0
 public HostEditDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 19
0
 public SettingDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 20
0
 public BattleResultDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 21
0
 public LoadingDialogState(MainDialogMgr dialog) : base(dialog)
 {
 }
Exemplo n.º 22
0
 public RoleSelectDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 23
0
 public ModelSelectDialogState(MainDialogMgr dialogState) : base(dialogState)
 {
 }
Exemplo n.º 24
0
 public DlcManagerDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 25
0
 public DlcDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
Exemplo n.º 26
0
 public RecordDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }
 public CreateRoomDialogState(MainDialogMgr stateMgr) : base(stateMgr)
 {
 }