Пример #1
0
    public void Run()
    {
        //将战场的格子密铺(并未连接渲染器),然后创建了两个Team
        singleBattle = BattleFiledCreator.Instance.Create(
            mapSize.x, mapSize.y,
            teamA, teamB);

        //重置摄像头
        ResetBattleCamera();

        //Gird连接渲染器,加载棋子模型,并连接渲染器
        singleBattle.ConnectRenderer(BattleFieldRenderer.Instance);
    }