Click or drag to resize

TriggerOnKeyPress Class

Triggers when an input button or combination of buttons is pressed. This MonoBehaviour has to use the Update function. The highest performance trigger setting is "OnAnyKey", followed by "OnAnyKeyInArray", followed by "OnAllKeysInArray". This component provides a simple way to handle input in your game. For more complicated games, you might wish to extend this or write a custom solution.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          DustProductions.TriggerMeTimbersTrigger
            DustProductions.TriggerMeTimbersTriggerOnKeyPress

Namespace:  DustProductions.TriggerMeTimbers
Assembly:  DustProductions.TriggerMeTimbers (in DustProductions.TriggerMeTimbers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class TriggerOnKeyPress : Trigger

The TriggerOnKeyPress type exposes the following members.

Constructors
  NameDescription
Public methodTriggerOnKeyPress
Initializes a new instance of the TriggerOnKeyPress class
Top
Methods
See Also