Other events

The following events are called based on assignments in the Input Manager. Remember that you can assign buttons, keys, and such to axes that define movement, submit, and cancel.

The Scroll event is called when the mouse wheel scrolls, and the Move event is called when a movement happens. When the button assigned to the Submit axis is pressed, the Submit event is called, and when the button assigned to the Cancel axis is pressed, the Cancel event is called.

Get Mastering UI Development with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.