Class UnityKeyCodeExtensions
- Namespace
- GameCanvas
- Assembly
- GameCanvas.dll
UnityEngine.InputSystem.Key と char (UTF-16) の相互変換
public static class UnityKeyCodeExtensions
- Inheritance
-
UnityKeyCodeExtensions
- Inherited Members
Methods
ToKey(KeyCode)
public static Key ToKey(this KeyCode code)
Parameters
code
KeyCode
Returns
- Key
TryGetChar(Key, out char)
public static bool TryGetChar(this Key key, out char c)
Parameters
key
Keyc
char
Returns
TryGetChar(KeyCode, out char)
public static bool TryGetChar(this KeyCode key, out char c)
Parameters
key
KeyCodec
char
Returns
TryGetKey(in char, out Key)
public static bool TryGetKey(this in char c, out Key key)
Parameters
c
charkey
Key
Returns
TryGetKeyCode(in char, out KeyCode)
public static bool TryGetKeyCode(this in char c, out KeyCode key)
Parameters
c
charkey
KeyCode