Learn / Documentation / Script Reference / KeyToGameEvent


class in Doozy.Engine / Inherits from MonoBehaviour


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


  • 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


    Public Methods

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