(client) chore:UI

This commit is contained in:
m0_75251201
2025-08-27 14:45:12 +08:00
parent 0c99e2beee
commit 63efa89ac1
10 changed files with 126 additions and 60 deletions

View File

@ -6,6 +6,7 @@ namespace Map
{
public class MiniMap : MonoBehaviour,ITickUI
{
public Image background;
public RawImage texture;
private bool _show = true;
@ -16,6 +17,7 @@ namespace Map
{
_show = Setting.Instance.CurrentSettings.showMiniMap;
texture.gameObject.SetActive(_show);
background.enabled = _show;
}
}
}