public void ListenForKeyDown() { if (InputManager.GetKeyDown(KeyCode.U)) { CardPopupUI popup = GetComponentInChildren <CardPopupUI>(true); popup.toggleShow(); } }
public void ShowPopup() { CardPopupUI popup = GetComponentInChildren <CardPopupUI>(true); popup.toggleShow(); }