private void Connected() { Debug.Log(" Succesfully connected to Pupil! "); timeSync = new TimeSync(request); timeSync.UpdateTimeSync(); UpdatePupilVersion(); StartEyeProcesses(); SetDetectionMode("3d"); // RepaintGUI(); // if (OnConnected != null) { OnConnected(); } }