Ejemplo n.º 1
0
    void Awake()
    {
        Instance        = this;
        resourceManager = new GameResourceManager();
        resourceManager.Init();

        battleManager = new BattleObjectManager();
        playerManager = new PlayerStateManager();
    }
Ejemplo n.º 2
0
        public static void Init()
        {
            ServerGame.GameDatabase = new CouchbaseDatabase("magic-players", "game");

            GameResourceManager.Init();
            GameMatchmakingManager.Init();
            GameDuelMatchmakingManager.Init();
            GameAvatarManager.Init();
            GameSessionManager.Init();
            LiveReplayManager.Init();
            GameBaseGenerator.Init();
            WordCensorUtil.Init();
        }