private void Awake() { Ins = this; Log = new Log(); ActiveState = new List <PersistState>(); GameOverlay = new GameOverlayDialogState(); FightState = new FightState(); ReplayState = new ReplayState(); NickNameDialogState = new NickNameDialogState(); BattleStatusDialogState = new BattleStatusDialogState(); PlayerDialogState = new PlayerDialogState(); ChatDialogState = new ChatDialogState(); PsdEditDialogState = new PsdEditDialogState(); RoomChatDialogState = new RoomChatDialogState(); LoadingEx = new LoadingEXDialogState(); ItemInfoDialogState = new ItemInfoDialogState(); GunShootDialogStatus = new GunShootDialogStatus(); //面板管理器. DialogStateManager = new MainDialogStateManager(); //顺序排队弹出框. PopupStateManager = new MainPopupStateManager(); //各类游戏数据. GameStateMgr = new GameStateMgr(); UpdateHelper = new UpdateHelper(); AppInfo = new AppInfo(); CombatData = new CombatData(); GameNotice = new GameNotice(); MeteorManager = new MeteorManager(); ScriptMng = new ScriptMng(); SFXLoader = new SFXLoader(); ActionInterrupt = new ActionInterrupt(); BuffMng = new BuffMng(); EventBus = new EventBus(); NetWorkBattle = new NetWorkBattle(); SceneMng = new SceneMng(); FrameSync = new FrameSync(); MeteorBehaviour = new MeteorBehaviour(); DropMng = new DropMng(); //原版相关资源的加载器. MenuResLoader = new MenuResLoader(); SkcLoader = new SkcLoader(); BncLoader = new BncLoader(); FMCLoader = new FMCLoader(); GMBLoader = new GMBLoader(); GMCLoader = new GMCLoader(); DesLoader = new DesLoader(); FMCPoseLoader = new FMCPoseLoader(); DataMgr = new DataMgr(); SfxMeshGenerator = new SfxMeshGenerator(); RoomMng = new RoomMng(); SoundManager = new SoundManager(); ResMng = new ResMng(); DlcMng = new DlcMng(); DontDestroyOnLoad(gameObject); Log.WriteError(string.Format("GameStart AppVersion:{0}", Main.Ins.AppInfo.AppVersion())); }
public RoomOptionDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public RoleSelectDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public StartupDialogState(MainDialogStateManager stateManager) : base(stateManager) { }
public SettingDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public ScriptInputDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public HostEditDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public EscDialogState(MainDialogStateManager dialgState) : base(dialgState) { }
public MainLobbyDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public UIAdjustDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public ConnectDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public MainMenuState(MainDialogStateManager dialogMgr) : base(dialogMgr) { }
public LoadingDialogState(MainDialogStateManager dialog) : base(dialog) { }
public WorldTemplateDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public BattleResultDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public UpdateDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public WeaponDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public EscConfirmDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public ModelSelectDialogState(MainDialogStateManager dialogState) : base(dialogState) { }
public LevelDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public RecordDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public MatchDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public SfxDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public RobotDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }
public ServerListDialogState(MainDialogStateManager stateMgr) : base(stateMgr) { }