void Start () 
	{
		PupilData.calculateMovingAverage = true;

		sceneCamera = gameObject.GetComponent<Camera> ();
		calibrationDemo = gameObject.GetComponent<CalibrationDemo> ();
		heading = gameObject.GetComponent<LineRenderer> ();
	}
Ejemplo n.º 2
0
        void Start()
        {
            PupilData.calculateMovingAverage = false;

            _sceneCamera     = gameObject.GetComponent <Camera>();
            _calibrationDemo = gameObject.GetComponent <CalibrationDemo>();
            _heading         = gameObject.GetComponent <LineRenderer>();
            if (MainMenuLogic.wasCalibration == null || MainMenuLogic.wasCalibration == false)
            {
                NoEmulate = true;
            }
            else
            {
                GazeEmulate = false;
                NoEmulate   = false;
            }
        }