| | |
| | | [SerializeField] Color32 colMoneyCanActivate; |
| | | [SerializeField] TextEx txtDesc; |
| | | [SerializeField] ImageEx imgRed; |
| | | [SerializeField] ImageEx imgJob; |
| | | LineupRecommendManager manager { get { return LineupRecommendManager.Instance; } } |
| | | public void Display(int recommendID, int index) |
| | | { |
| | |
| | | imgCountry.SetSprite(HeroUIManager.Instance.GetCountryIconName(heroConfig.Country)); |
| | | txtName.text = heroConfig.Name; |
| | | txtDesc.text = heroConfig.Desc; |
| | | imgJob.SetSprite(HeroUIManager.Instance.GetJobIconName(heroConfig.Class)); |
| | | |
| | | LineupRecommendHeroState heroState = manager.GetHeroState(recommendID, index); |
| | | imgMask.SetActive(heroState != LineupRecommendHeroState.ActivateAndHave); |