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();*/
        }
示例#2
0
        public static BattleT GetConfigByID(int id)
        {
            BattleT config = ConfigManager.GetConfigByID <BattleT>(Configs, id);

            return(config);
        }
示例#3
0
 //切场景之前设置战斗配置
 public static void SetBattleConfig(BattleT config)
 {
     curConfig = config;
 }