public void BattleStart(BattleT config)
        {
            this.curBattleInfo = config;
            // ModelResourceT PlayerResourceInfo = ModelResourceConfig.GetConfigByID(1);

            /*
             * this.mainPlayer = PlayerController.CreatePlayer(PlayerResourceInfo, this.curBattleInfo.PlayerBornPos, this.curBattleInfo.PlayerBornAngle, "MainPlayer");
             * this.mainPlayer.InitAnimation();*/
        }
Exemplo n.º 2
0
        public static BattleT GetConfigByID(int id)
        {
            BattleT config = ConfigManager.GetConfigByID <BattleT>(Configs, id);

            return(config);
        }
Exemplo n.º 3
0
 //切场景之前设置战斗配置
 public static void SetBattleConfig(BattleT config)
 {
     curConfig = config;
 }