Fix input conflict in input config.

This commit is contained in:
2023-02-12 17:27:15 +08:00
parent abb7ad6f24
commit f60ba1088d
3 changed files with 7 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Cryville.Crtr.Config {
@@ -17,6 +18,7 @@ namespace Cryville.Crtr.Config {
m_value.text = "None";
m_button.onClick.AddListener(() => {
master.OpenDialog(name);
EventSystem.current.SetSelectedGameObject(null);
});
}