void Start() { mesh = new Mesh(); mRenderer = GetComponent <MeshRenderer> (); mRenderer.material = Resources.Load("Material/Pupil", typeof(Material)) as Material; Invoke("InitializePointClouds", 1f); _Instance = this; }
void Start() { mesh = new Mesh(); pupilTracker = PupilGazeTracker.Instance; // print (pupilTracker.CalibrationData.camera_intrinsics.camera_matrix); mRenderer = GetComponent <MeshRenderer> (); mRenderer.material = Resources.Load("Material/Pupil", typeof(Material)) as Material; Invoke("InitializePointClouds", 1f); _Instance = this; }