mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 12:37:12 +08:00
(client) feat:健康给予,路径优化,结算界面,商店界面 (#60)
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/60
This commit is contained in:
@@ -6,7 +6,7 @@ using UnityEngine.UI;
|
||||
|
||||
namespace UI
|
||||
{
|
||||
public class MapViewUI:MonoBehaviour
|
||||
public class MapViewUI : MonoBehaviour
|
||||
{
|
||||
public TMP_Text text;
|
||||
public Image icon;
|
||||
@@ -18,7 +18,7 @@ namespace UI
|
||||
text.text = $"<color=yellow>{dimensionDef.label}</color>\n{dimensionDef.description}";
|
||||
if (!string.IsNullOrEmpty(dimensionDef.icon))
|
||||
icon.sprite = PackagesImageManager.Instance.GetSprite(dimensionDef.icon);
|
||||
DimensionDefine=dimensionDef;
|
||||
DimensionDefine = dimensionDef;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user