private void CheckDeclineButtonPressed() { if (GetKeyUp(m_declineKey)) { OnDeclineButtonPressed?.Invoke(); } }
private void DetectDeclineButtonPressed() { if (Input.GetKeyUp(m_declineKey)) { OnDeclineButtonPressed?.Invoke(); } }
private void CheckDeclineButtonPressed() { float declineButton = 0f; #if UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN declineButton = GetAxis(DECLINE_WIN); #elif UNITY_STANDALONE_OSX || UNITY_EDITOR_OSX declineButton = GetAxis(DECLINE_OSX); #endif if (declineButton > 05f) { OnDeclineButtonPressed?.Invoke(); } }