Example #1
0
 private void Close(KeyCode keyCode)
 {
     panel.SetActive(false);
     if (isBind1)
     {
         element.SetBind1(keyCode);
     }
     else
     {
         element.SetBind2(keyCode);
     }
 }
Example #2
0
 public void CheckEscapeMenuBind()
 {
     if (escapeMenuElement && escapeMenuElement.HasNoBind())
     {
         escapeMenuElement.SetBind1(KeyCode.Escape);
     }
 }