示例#1
0
 public void ListenForKeyDown()
 {
     if (InputManager.GetKeyDown(KeyCode.U))
     {
         CardPopupUI popup = GetComponentInChildren <CardPopupUI>(true);
         popup.toggleShow();
     }
 }
示例#2
0
    public void ShowPopup()
    {
        CardPopupUI popup = GetComponentInChildren <CardPopupUI>(true);

        popup.toggleShow();
    }