Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I add event listeners to an item? #65

Closed
rahb3rt opened this issue May 15, 2017 · 1 comment
Closed

How do I add event listeners to an item? #65

rahb3rt opened this issue May 15, 2017 · 1 comment
Assignees
Labels

Comments

@rahb3rt
Copy link

rahb3rt commented May 15, 2017

Hi, I was wondering, how do add event listeners into Hover you. ie. if I selected Item A (a checkbox) that Action A would occur. Is there a script for adding in those listeners?

Thanks in advance!

@zachkinstner zachkinstner self-assigned this May 15, 2017
@zachkinstner zachkinstner changed the title Question How do I add event listeners to an item? May 15, 2017
@zachkinstner
Copy link
Member

Hi @rahb3rt, the item event handlers are located within an item's "Events" area, which can be easy to miss because it's a collapsible menu in the inspector. Each item type (checkbox, slider, etc.) has a slightly different set of events. More details on the Items wiki page.

Here's a screenshot of where you'll find the event handlers in the Unity inspector:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants