Editar

Compartilhar via


KeyBinding.FromKey(KeyCode) Method

Definition

Create a binding for a keyboard key.

public:
 static Microsoft::MixedReality::Toolkit::Input::KeyBinding FromKey(UnityEngine::KeyCode keyCode);
public static Microsoft.MixedReality.Toolkit.Input.KeyBinding FromKey (UnityEngine.KeyCode keyCode);
static member FromKey : UnityEngine.KeyCode -> Microsoft.MixedReality.Toolkit.Input.KeyBinding
Public Shared Function FromKey (keyCode As KeyCode) As KeyBinding

Parameters

keyCode
UnityEngine.KeyCode

Returns

Applies to