void Start()
    {
        SceneObject   = mySceneObject;
        shadowManager = mySceneObject.GetComponent <ShadowManager4Experiment>();

        SceneUI       = mySceneUI;
        active_toggle = false;
        SetAnchor();
    }
    void Start()
    {
        SceneObject = mySceneObject;
        shadowManager = mySceneObject.GetComponent<ShadowManager4Experiment>();

        SceneUI = mySceneUI;
        active_toggle = false;
        SetAnchor();
        isShadowAnchored = false;
        surfaceHeight = 0f; 
    }
Exemple #3
0
    ShadowManager4Experiment MyShadowManager2; // wow. terrible names for scripts, past self.


    void Start()
    {
        subjectId  = "";
        deviceId   = "";
        blockOrder = "";

        // Get UI gameojbect reference
        //StartUI = GameObject.FindGameObjectWithTag("UI");
        MyShadowManager  = MyShadowManagerGO.transform.GetComponent <ShadowExperimentManager>();
        MyShadowManager2 = MyShadowManagerGO.transform.GetComponent <ShadowManager4Experiment>();
        MyShadowManagerGO.SetActive(false);
        isExperimentStarted = false;

        prev_block   = 0;
        cur_subtrial = 0; // max = totalSubtrials
        cur_trial    = 0; // max = totalTrials
    }