fix
This commit is contained in:
parent
8835f620e9
commit
6b01de0095
@ -55,9 +55,13 @@ namespace NEG.UI.UnityUi
|
||||
|
||||
private void SetDirectionInput()
|
||||
{
|
||||
if (EventSystem.current == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
CurrentSelectionSource = SelectionSource.Direction;
|
||||
Cursor.visible = false;
|
||||
if (EventSystem.current != null && EventSystem.current.currentSelectedGameObject == null)
|
||||
if (EventSystem.current.currentSelectedGameObject == null)
|
||||
{
|
||||
EventSystem.current.SetSelectedGameObject(((MonoWindow)MonoUiManager.Instance.CurrentMainWindow).DefaultSelectedItem);
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user