Exemplo n.º 1
0
 public override void Update()
 {
     if (InputController.Instance.IsWaitingForInput)
     {
         if (InputController.Instance.CheckForInput())
         {
             if (lastClickedInputButton != null && lastClickedInputInfo != null)
             {
                 lastClickedInputButton.Text = lastClickedInputInfo.GetInfo();
                 inputPanel.SetActive(true, true);
             }
         }
     }
 }
Exemplo n.º 2
0
 public void OnDeleteInputButtonClicked(UIButton button, InputInfo info)
 {
     InputController.Instance.DeleteKeyBind(info);
     button.Text = info.GetInfo();
 }