Table of Contents

Class UnityKeyCodeExtensions

Namespace
GameCanvas
Assembly
GameCanvas.dll

UnityEngine.InputSystem.Keychar (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 Key
c char

Returns

bool

TryGetChar(KeyCode, out char)

public static bool TryGetChar(this KeyCode key, out char c)

Parameters

key KeyCode
c char

Returns

bool

TryGetKey(in char, out Key)

public static bool TryGetKey(this in char c, out Key key)

Parameters

c char
key Key

Returns

bool

TryGetKeyCode(in char, out KeyCode)

public static bool TryGetKeyCode(this in char c, out KeyCode key)

Parameters

c char
key KeyCode

Returns

bool