public GetButton ( ) : BaseController.eButtonId>.Dictionary |
||
return | BaseController.eButtonId>.Dictionary |
/// <summary> /// /// </summary> protected virtual void Update() { if (canRecenter) { if (ControllerInputManager.GetButtonDown(ControllerType.Controller, (uint)XimmerseButton.Home)) { m_HomeIsDownLastTime = Time.time; } if (Input.GetKeyDown(KeyCode.R) || (ControllerInputManager.GetButton(ControllerType.Controller, (uint)XimmerseButton.Home) && Time.time - m_HomeIsDownLastTime > 1.0f)) { Recenter(true); } } }