TouchButtonCog

TOCK by NullSave\Input Cog\Scripts\TouchButtonCog.cs

Description

Required Component: Image

Presents a virtual button that reports back to the InputCog.

Properties

Button Name Name to use when reporting state info.
Normal Color Color to assign to Image when not pressed.
Pressed Color Color to assign to Image when pressed.

Events

onPress Raise on first frame button is pressed.
onRelease Raised on first frame button is released.