IntToKeyCodeTable
The IntToKeyCodeTable class is a ScriptableObject that maps integer key codes to Unity's KeyCode values.
Overview
The IntToKeyCodeTable class is a ScriptableObject that maps integer key codes to Unity's KeyCode values.
Fields
idToKeyCodeTable(GenericDictionary<int, KeyCode>): The dictionary mapping integer key codes to KeyCode values.
Methods
GetUnityKeyCode(int keyCode): Returns the KeyCode value associated with the provided integer key code.GetKeyCodeId(KeyCode keyCode): Returns the integer key code associated with the provided KeyCode value.HasDuplicates(): Checks if the dictionary contains duplicate KeyCode values.FillDictionary(): Fills the dictionary with standard key codes.
IdToKeyCodeTableEditor Class Documentation
Overview
The IdToKeyCodeTableEditor class is a custom editor for the IntToKeyCodeTable class.
Methods
OnInspectorGUI(): Overrides the default inspector GUI to add custom functionality.
Last updated