Learn / Documentation / Script Reference / KeyToGameEvent
Manual

KeyToGameEvent

class in Doozy.Engine / Inherits from MonoBehaviour

Description

The KeyToGameEvent listens for the set input key or virtual button and, when triggered, sends the set game event
See Also: InputData

Properties

  • public bool HasGameEvent – Returns TRUE if a valid game event is set (non null & non empty)

Public Variables

  • public InputData InputData – Key code and virtual button input settings
  • public string GameEvent – Game Event to send when this Key To Game Event is triggered

Constructors

    Public Methods

    • public void Execute() – Send the set game event