編集

次の方法で共有


KeyBinding.TryGetKeyCode(KeyCode) Method

Definition

Try to convert the binding to a KeyCode.

public:
 bool TryGetKeyCode([Runtime::InteropServices::Out] UnityEngine::KeyCode % keyCode);
public bool TryGetKeyCode (out UnityEngine.KeyCode keyCode);
member this.TryGetKeyCode : KeyCode -> bool
Public Function TryGetKeyCode (ByRef keyCode As KeyCode) As Boolean

Parameters

keyCode
UnityEngine.KeyCode

Returns

True if the binding is a keyboard key

Applies to