This site has been permanently archived. The content on this site was last updated in 2019.
Stay organized with collections
Save and categorize content based on your preferences.
GvrAllEventsTrigger
Exposes events from GvrEventExecutor
that are fired by GvrPointerInputModule_
to the editor.
Summary
Makes it possible to handle EventSystem
events globally.
Inheritance
Inherits from: MonoBehaviour
Public attributes
OnPointerClick
TriggerEvent OnPointerClick
Event for OnPointerClick
.
OnPointerEnter
TriggerEvent OnPointerEnter
Event for OnPointerEnter
.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-09 UTC."],[[["`GvrAllEventsTrigger` exposes events from `GvrEventExecutor` fired by `GvrPointerInputModule_` to the editor, enabling global handling of `EventSystem` events."],["It provides access to `OnPointerClick`, `OnPointerDown`, `OnPointerEnter`, `OnPointerExit`, `OnPointerUp`, and `OnScroll` events through its `TriggerEvent` class."],["Developers can utilize these exposed events to implement custom interactions and logic based on user input in VR applications."],["`GvrAllEventsTrigger` inherits from `MonoBehaviour` and offers public attributes corresponding to each event type."]]],["`GvrAllEventsTrigger` exposes events from `GvrEventExecutor` to the editor, enabling global handling of `EventSystem` events. It inherits from MonoBehaviour and provides public attributes for various pointer events: `OnPointerClick`, `OnPointerDown`, `OnPointerEnter`, `OnPointerExit`, `OnPointerUp`, and `OnScroll`. Each attribute is a `TriggerEvent`, firing with associated `PointerEventData`. `GvrAllEventsTrigger.TriggerEvent` class exposes fired pointer events.\n"]]