ui基本完毕,修了一大把的bug
This commit is contained in:
@@ -151,14 +151,14 @@ public class loadSettlementTeamPrefab : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
// Populate profile and name: prefer AllyHero_SO.ally_hero_squareProfile when available
|
||||
// Populate profile and name: prefer AllyHero_SO.ally_hero_settleDisplay when available
|
||||
bool setProfile = false;
|
||||
|
||||
if (resolvedHeroSO != null && card.ally_profile != null)
|
||||
{
|
||||
if (resolvedHeroSO.ally_hero_squareProfile != null)
|
||||
if (resolvedHeroSO.ally_hero_settleDisplay != null)
|
||||
{
|
||||
card.ally_profile.sprite = resolvedHeroSO.ally_hero_squareProfile;
|
||||
card.ally_profile.sprite = resolvedHeroSO.ally_hero_settleDisplay;
|
||||
card.ally_profile.color = new Color(1f, 1f, 1f, 1f);
|
||||
if (card.ally_name != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user