Home Forums Software Development how to get the gaze coordinate? Reply To: how to get the gaze coordinate?

Alex [Tobii]


1. Please don’t add DemoScenes folder from the package to existing Unity projects. Demo scripts don’t use namespaces and may conflict with you existing classes. You don’t need to have Demo Scenes to get TobiiAPI working. We may add namespaces to resolve possible conflicts in some next update.

2. Please try the Demo Scenes in a blank project.

3. It’s hard to see the error on the video, but please don’t use PrintGazePosition script unless you understand every line in it.

Instead you can use the code sample from the documentation https://tobii.github.io/UnitySDK/scripting-api#tobiiapigetgazepoint

You will also find a number of usefull samples if you try to run different DemoScenes.