microsoft / OpenXR-Unity-MixedReality-Samples

Sample Unity projects to demo how to use OpenXR plugin in Unity for HoloLens 2 and Mixed Reality headsets
MIT License
250 stars 71 forks source link

Reduce Eye Tracking Logs #175

Closed marlenaklein-msft closed 8 months ago

marlenaklein-msft commented 8 months ago

Currently, the FollowEyeGaze script logs a message every frame if eye tracking device is not valid. This can make it more difficult to debug the sample scenes in Unity editor or remoting apps by filling the logs with repeat messages. With this change, the script only logs the message the first frame or if eye tracking is newly lost.