C# Class UIKeyBinding, TheUnseen

Inheritance: MonoBehaviour
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
action Action
keyCode KeyCode,
modifier Modifier,

Méthodes publiques

Méthode Description
OnSubmit ( ) : void

Ignore the KeyUp message if the input field "ate" it.

Start ( ) : void

If we're bound to an input field, subscribe to its Submit notification.

Update ( ) : void

Process the key binding.

Private Methods

Méthode Description
IsModifierActive ( ) : bool

Convenience function that checks whether the required modifier key is active.

Method Details

OnSubmit() public méthode

Ignore the KeyUp message if the input field "ate" it.
public OnSubmit ( ) : void
Résultat void

Start() public méthode

If we're bound to an input field, subscribe to its Submit notification.
public Start ( ) : void
Résultat void

Update() public méthode

Process the key binding.
public Update ( ) : void
Résultat void

Property Details

action public_oe property

Action to take with the specified key.
public Action action
Résultat Action

keyCode public_oe property

Key that will trigger the binding.
public KeyCode, keyCode
Résultat KeyCode,

modifier public_oe property

Modifier key that must be active in order for the binding to trigger.
public Modifier, modifier
Résultat Modifier,