void Awake()
 {
     // get the inputs we need for displaying the cursor
     handCursor                = GameObject.FindGameObjectWithTag("Cursor");
     cursObjTracker            = GameObject.FindGameObjectWithTag("CursObjTracker");
     handCursorController      = handCursor.GetComponent <HandCursorController>();
     experimentController      = handCursorController.experimentController;
     targetContainerController = experimentController.targetContainerController;
 }
Example #2
0
    private void Awake()
    {
        targetDistance = 0.1f;
        oldArc         = arcSpan;
        prevWidth      = width;
        prevSpan       = arcSpan;
        prevThickness  = thickness;
        GenerateArc();

        // get the inputs we need for displaying the cursor
        handCursor                = GameObject.FindGameObjectWithTag("Cursor");
        handCursorController      = handCursor.GetComponent <HandCursorController>();
        experimentController      = handCursorController.experimentController;
        targetContainerController = experimentController.targetContainerController;
    }