(client) feat:实现掉落物,UI显示,维度

This commit is contained in:
m0_75251201
2025-08-27 13:56:22 +08:00
parent f04c89046b
commit 0c99e2beee
46 changed files with 6150 additions and 1809 deletions

View File

@ -1,10 +1,22 @@
using Base;
using UnityEngine;
using UnityEngine.UI;
namespace Map
{
public class MiniMap : MonoBehaviour
public class MiniMap : MonoBehaviour,ITickUI
{
public RawImage texture;
private bool _show = true;
public void TickUI()
{
if (_show != Setting.Instance.CurrentSettings.showMiniMap)
{
_show = Setting.Instance.CurrentSettings.showMiniMap;
texture.gameObject.SetActive(_show);
}
}
}
}