cun
This commit is contained in:
@@ -12,7 +12,6 @@ public class UserInfoPanel : SubUIBase
|
||||
{
|
||||
[Header("基础信息")]
|
||||
public Image sprite_Avatar;
|
||||
public Image sprite_AvatarFrame;
|
||||
public TextMeshProUGUI tMPText_Name;
|
||||
public TextMeshProUGUI tMPText_ID;
|
||||
public TextMeshProUGUI tMPText_UserNumber;
|
||||
@@ -64,7 +63,7 @@ public class UserInfoPanel : SubUIBase
|
||||
/// </summary>
|
||||
private void LoadAvatarImage(Image target, string avatarUrl)
|
||||
{
|
||||
if (target == null || string.IsNullOrEmpty(avatarUrl)) return;
|
||||
if (target == null) return;
|
||||
|
||||
var sprite = gameManager.GetAvatarSprite(avatarUrl);
|
||||
if (sprite != null)
|
||||
|
||||
Reference in New Issue
Block a user