private bool GetButtonUp(ButtonSet.ButtonCascade buttonCascade) { try { if (UnityEngine.Input.GetButtonUp(buttonCascade.pcName)) { return(true); } } catch (System.Exception) { } if (XboxInput.GetButtonUp(_inputId, buttonCascade.xboxButton)) { return(true); } if (UIInput.GetButtonUp(buttonCascade.uIButton)) { return(true); } return(false); }