void Start() { Manager.Sound.SetIndex(6); FindObjectOfType <Controller>().SetGain(0); Manager.Spawn.PurpleFeet(PurpleFeetSpawn.position); FeetObject.OnCollision += Feet; _turnLeft = LevelUtilities.GenerateRandomBool(); _trainingComplete = false; Manager.Sound.PlayNextVoiceover(1.0f); //#6 position purple }
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); }
// ReSharper disable once ArrangeTypeMemberModifiers void Start() { Manager.Sound.SetIndex(10); FindObjectOfType <Controller>().SetGain(0); Manager.Spawn.PurpleFeet(PurpleFeetSpawn.position); FeetObject.OnCollision += Feet; AlgorithmManager.Complete += Completed; _turnLeft = LevelUtilities.GenerateRandomBool(); Manager.Experiment.GetAlgorithm(out _algorithm); Debug.Log(_algorithm); Manager.Algorithm.Initialize(_algorithm); Manager.Sound.PlayNextVoiceover(); //#9 Experiment now begins, go to feet Pointer.Click += Touchpad; SetupInitialCalibration(); }
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(); }