| | |
| | | using Cysharp.Threading.Tasks; |
| | | using LitJson; |
| | | using System; |
| | | using System.Collections; |
| | |
| | | public static class BattleFieldFactory |
| | | { |
| | | |
| | | public static BattleField CreateBattleField(string guid, int MapID, int FuncLineID, JsonData extendData, List<TeamBase> redTeamList, List<TeamBase> blueTeamList) |
| | | public static async UniTask<BattleField> CreateBattleField(string guid, int MapID, int FuncLineID, JsonData extendData, List<TeamBase> redTeamList, List<TeamBase> blueTeamList) |
| | | { |
| | | BattleField battleField = null; |
| | | |
| | |
| | | break; |
| | | } |
| | | |
| | | await battleField.LoadRoot(); |
| | | |
| | | return battleField; |
| | | } |
| | | |