Example #1
0
    void Start()
    {
        FindObjectOfType <Controller>().SetGain(0);
        Manager.Sound.SetIndex(2);
        _completed = false;

        _startingEdge = LevelUtilities.ChooseRandomEdge();
        Manager.Spawn.PurpleFeet(_startingEdge);
        FeetObject.OnCollision += Feet;
        Pointer.Click          += Touchpad;
        _turnLeft = LevelUtilities.GenerateRandomBool();
        Manager.Sound.PlayNextVoiceover(2.0f);
    }
Example #2
0
    void Start()
    {
        Manager.Sound.SetIndex(11);
        FindObjectOfType <Controller>().SetGain(0);

        _startingEdge = LevelUtilities.ChooseRandomEdge();
        _turnLeft     = LevelUtilities.GenerateRandomBool();
        Manager.Spawn.PurpleFeet(_startingEdge);
        FeetObject.OnCollision += Feet;
        Pointer.Click          += Touchpad;

        useIndividualized = LevelUtilities.GenerateRandomBool();
        usePositive       = LevelUtilities.GenerateRandomBool();
        Manager.Sound.PlayNextVoiceover(2.0f); //#13 position & follow path
        count      = 0;
        totalCount = 0;
        Manager.Experiment.GetWalkthroughAlgorithm(out algorithm);
        Manager.Experiment.GetThreshold(algorithm, out positiveAlg, out negativeAlg);
        negativeAvg = -0.2f;
        positiveAvg = 0.4f;
        SetupFMS();
    }