Hello! I am trying to do an simple function that deletes one sphere that I have added to my scene if the sphere has the focus of the user, using the HasGazeFocus property, but I can’t make it work.
if (_gazeAware.HasGazeFocus) { this.gameObject.SetActive(false); Debug.Log(“=)”); } else { Debug.Log(“=/”); }
There is something else that I have to do to make it work?
Yes, the sample of the sdk work good. Which value should I put on maximum distance? And about collision layers, it’s the gaze focus layers? If so, which options should be marked? I just wanna track one object on the scene.