編集

次の方法で共有


OpenVRDeviceManager.GetOrAddController(String) Method

Definition

Gets or adds a controller using the joystick name provided.

protected:
 override Microsoft::MixedReality::Toolkit::Input::UnityInput::GenericJoystickController ^ GetOrAddController(System::String ^ joystickName);
protected override Microsoft.MixedReality.Toolkit.Input.UnityInput.GenericJoystickController GetOrAddController (string joystickName);
override this.GetOrAddController : string -> Microsoft.MixedReality.Toolkit.Input.UnityInput.GenericJoystickController
Protected Overrides Function GetOrAddController (joystickName As String) As GenericJoystickController

Parameters

joystickName
String

The name of the joystick from Unity's Input.GetJoystickNames

Returns

A new controller reference.

Applies to