KeyBinding.TryGetKeyCode(KeyCode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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