修复左下角手柄信息UI,在收到按键信号时抖动效果可能导致坐标偏移的问题(这是一个临时效果,后续改成对应键值按下动画)

This commit is contained in:
ALIENJACK\alien 2025-01-25 11:24:27 +08:00
parent 058306f0fe
commit f11e36c83f

View File

@ -45,6 +45,8 @@ public class ControllerInfo : MonoBehaviour
Eventer.Instance.RegisterEvent(EEvent.OnLossLoginState, OnLossLoginState);
Eventer.Instance.RegisterEvent(EEvent.OnControllerConnectChanged, OnControlConnectChanged);
UpdateConnectInfo();
m_indexIcon.rectTransform.anchoredPosition = Vector3.zero;
}
private void OnDisable()