Skip to Content
Mastering UI Development with Unity
book

Mastering UI Development with Unity

by Dr. Ashley Godbold
April 2018
Beginner content levelBeginner
468 pages
11h 7m
English
Packt Publishing
Content preview from Mastering UI Development with Unity

Pointer events

Pointer events can be called by the pointer in a Standalone Input Module. Remember that a pointer is not exclusively a mouse. The pointer in a Standalone Input Module can be a mouse, finger touch, or a reticle tied to gamepad movement.

Two of the event types are related to the position of the pointer in relation to the object's bounding box region. The PointerEnter event is called when the pointer enters the bounding box of the object and PointerExit is called when the pointer exits the bound box area.

There are three events related to clicking on the object. The PointerDown event is called when the pointer is pressed down within the bounding region of the object, and PointerUp is called when the pointer is released within ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Game Development with Unity for .NET Developers

Game Development with Unity for .NET Developers

Jiadong Chen
Unity UI Cookbook

Unity UI Cookbook

Francesco Sapio

Publisher Resources

ISBN: 9781787125520Supplemental Content