// Use this for initialization void Start() { //sets static variables based on dragged values cursorAnimator = cursorAnimatorObj; cursorAnimation = cursorAnimationObj; debugText = debugTextObj; }
// Use this for initialization void Start() { //sets static variables based on dragged values cursorAnimator = cursorAnimatorObj; cursorAnimation = cursorAnimationObj; debugText = debugTextObj; }
//Use this for initialization void Start() { //sets cursor animator and animation variables cursorAnimation = GazeStatics.cursorAnimation; cursorAnimator = GazeStatics.cursorAnimator; if (debugMode) { debugText = GazeStatics.debugText; debugText.gameObject.SetActive(true); } //calculates speed of the timer based on duration in seconds timerSpeed = 1 / (timerDuration / cursorAnimation.length); //place the gaze system on the camera PlaceOnCamera(); //stop cursor timer from auto-playing ResetCursor(false); }
//Use this for initialization void Start() { //sets cursor animator and animation variables cursorAnimation = GazeStatics.cursorAnimation; cursorAnimator = GazeStatics.cursorAnimator; if (debugMode) { debugText = GazeStatics.debugText; debugText.gameObject.SetActive(true); } //calculates speed of the timer based on duration in seconds timerSpeed = 1 / (timerDuration / cursorAnimation.length); //place the gaze system on the camera PlaceOnCamera(); //stop cursor timer from auto-playing ResetCursor(false); }