Tobii Developer Zone

Tobii Developer Zone -
  • Product Integration
  • PC Gaming
  • VR
  • Research
  • Glasses
  • Forums
Login Register

Login to Tobii Developer Zone

  • Product Integration
  • PC Gaming
  • VR
  • Research
  • Glasses
  • Forums
  • Product Integration
    • Introduction
    • Get started
    • Platform Development Kit
    • Stream Engine
      • Introduction
      • Getting Started
      • API Reference
    • FAQ
  • PC Gaming
    • Introduction
    • Why eye tracking in gaming?
    • Stories
      • Introduction
      • Shadow of the Tomb Raider
      • Tom Clancy’s The Division 2
    • Design
      • Introduction
      • Explored Features
        • Introduction
        • Aim at gaze
        • Clean UI
        • Extended View
    • Develop
      • Introduction
      • Tobii Game Integration
        • Introduction
        • Getting Started
      • Unity SDK
        • Introduction
        • Getting Started
        • API Overview
        • Scripting API
        • Samples
        • Troubleshoot
      • Unreal Engine 4 SDK (BETA)
        • Introduction
        • Getting started
        • API Reference
          • Introduction
          • Console Variables
          • Core
          • Gaze To Object Mapping
          • Interactions
    • Downloads
    • Community and support
  • VR
    • Introduction
  • Research
    • Introduction
  • Glasses
    • Introduction
  • License model

Reply To: Unity UI Gaze Aware Button

Home › Forums › Software Development › Unity UI Gaze Aware Button › Reply To: Unity UI Gaze Aware Button

31/07/2017 at 17:37 #7224
Chris Hoopes
Participant

I actually just implemented this the other day. Easiest way to do it is get the coordinates of the gaze point and use Unity’s UI Graphic Raycaster to figure out what elements they’re looking at and then act on them.

https://docs.unity3d.com/ScriptReference/UI.Graphic.Raycast.html

  • License Agreement
  • Forums
  • Data Transparency Policy
  • Tobii

Copyright © 2022 Tobii. All Rights Reserved. Privacy Policy | Terms of Use