/// <summary> Check button long press. </summary> private void CheckButtonLongPress() { if (NRInput.GetButton(ControllerButton.HOME)) { m_ButtonPressTimer += Time.deltaTime; if (m_ButtonPressTimer > BUTTON_LONG_PRESS_DURATION) { m_ButtonPressTimer = float.MinValue; // Reset layser when long press Home btn. NRInput.RecenterController(); } } else { m_ButtonPressTimer = 0f; } }