| | |
| | | |
| | | public void Display(int index) |
| | | { |
| | | Int2 result = HeroUIManager.Instance.GetMaxCountHeroCountry(HeroUIManager.Instance.selectTeamType, true); |
| | | Int2 result; |
| | | if (HeroUIManager.Instance.isCustonHeroFormation) |
| | | { |
| | | result = HeroUIManager.Instance.GetMaxCountHeroCountry(HeroUIManager.Instance.custonTeamHeroes);; |
| | | } |
| | | else |
| | | { |
| | | result = HeroUIManager.Instance.GetMaxCountHeroCountry(HeroUIManager.Instance.selectTeamType, true); |
| | | } |
| | | |
| | | var config = HeroLineupHaloConfig.GetConfig(result.x, result.y); |
| | | bool sameCountry = result.x == (index + 1); |