編輯

共用方式為


KeyInputSystem.ReleaseKey(KeyBinding) Method

Definition

Releases a key. GetKeyUp(KeyBinding) will be true for the keybinding. GetKeyDown(KeyBinding) and GetKey(KeyBinding) will no longer be true for the keybinding.

public:
 static void ReleaseKey(Microsoft::MixedReality::Toolkit::Input::KeyBinding kb);
public static void ReleaseKey (Microsoft.MixedReality.Toolkit.Input.KeyBinding kb);
static member ReleaseKey : Microsoft.MixedReality.Toolkit.Input.KeyBinding -> unit
Public Shared Sub ReleaseKey (kb As KeyBinding)

Parameters

Applies to