Exemplo n.º 1
0
 private void Start()
 {
     if (!mouseGaze && !VarjoPlugin.InitGaze())
     {
         Debug.LogWarning("Failed to initialize gaze, enabling mouse gaze");
         mouseGaze = true;
     }
 }
Exemplo n.º 2
0
 private void Start()
 {
     // InitGaze must be called before using or calibrating gaze tracking.
     if (!VarjoPlugin.InitGaze())
     {
         Debug.LogError("Failed to initialize gaze");
         gameObject.SetActive(false);
     }
 }
Exemplo n.º 3
0
 private void Start()
 {
     // InitGaze must be called before using or calibrating gaze tracking.
     if (!VarjoPlugin.InitGaze())
     {
         Debug.LogError("Failed to initialize gaze");
         gameObject.SetActive(false);
     }
     gazeCircleOriginalScale = gazeCircle.gameObject.transform.localScale;
 }