public EyeTrackingHost() { _instance = this; Debug.Log("TobiiGameIntegrationApi.TrackWindow() before"); TobiiGameIntegrationApi.TrackWindow(Process.GetCurrentProcess().MainWindowHandle); Debug.Log("TobiiGameIntegrationApi.TrackWindow() after"); AspectRatio = 16f / 9f; }
public void Dispose() { Debug.Log("TobiiGameIntegrationApi.StopTracking() before"); TobiiGameIntegrationApi.StopTracking(); Debug.Log("TobiiGameIntegrationApi.StopTracking() after"); }