修复左下角手柄信息UI,在收到按键信号时抖动效果可能导致坐标偏移的问题(这是一个临时效果,后续改成对应键值按下动画)
This commit is contained in:
parent
058306f0fe
commit
f11e36c83f
@ -45,6 +45,8 @@ public class ControllerInfo : MonoBehaviour
|
|||||||
Eventer.Instance.RegisterEvent(EEvent.OnLossLoginState, OnLossLoginState);
|
Eventer.Instance.RegisterEvent(EEvent.OnLossLoginState, OnLossLoginState);
|
||||||
Eventer.Instance.RegisterEvent(EEvent.OnControllerConnectChanged, OnControlConnectChanged);
|
Eventer.Instance.RegisterEvent(EEvent.OnControllerConnectChanged, OnControlConnectChanged);
|
||||||
UpdateConnectInfo();
|
UpdateConnectInfo();
|
||||||
|
|
||||||
|
m_indexIcon.rectTransform.anchoredPosition = Vector3.zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnDisable()
|
private void OnDisable()
|
||||||
|
Loading…
Reference in New Issue
Block a user