替换玩家模型素材,添加 ChildrenMap 配置挂点

This commit is contained in:
2026-10-04 17:57:16 +08:00
parent 75ec52f3d4
commit aaa8cf3ee2
98 changed files with 6483 additions and 274 deletions
@@ -1,4 +1,5 @@
using UnityEngine;
using SepCore.Event;
using UnityGameFramework.Runtime;
namespace SepCore.UI
@@ -14,10 +15,16 @@ namespace SepCore.UI
private ItemTooltipContext _context;
private Vector3 _targetPos;
public void SetMaskEnabled(bool enabled)
{
View.maskImage.enabled = enabled;
}
public void RefreshUI(ItemTooltipContext context)
{
_context = context;
_targetPos = ConvertWorldToAnchored(_context.TargetPos);
View.maskImage.enabled = false;
foreach (RarityPanel panel in _rarityPanels)
{
@@ -54,6 +61,7 @@ namespace SepCore.UI
protected override void OnClose(bool isShutdown, object userData)
{
View.maskImage.enabled = false;
_context = null;
base.OnClose(isShutdown, userData);
}