public void Start() { GazeManager.Instance.Activate(1, GazeManager.ClientMode.Push); GazeManager.Instance.AddGazeListener(this); Correction = new Correction(); IsConnected = GazeManager.Instance.IsConnected; IsCalibrated = IsConnected && GazeManager.Instance.IsCalibrated; CalibrationAreaSize.X = Screen.PrimaryScreen.Bounds.Width; CalibrationAreaSize.Y = Screen.PrimaryScreen.Bounds.Height; }
public void Dispose() { GazeManager.Instance.RemoveGazeListener(this); Instance = null; }
public Correction() { Instance = this; GazeManager.Instance.AddGazeListener(this); }