void Start()
    {
        Player                        = GameObject.Find("Player");
        AudioSource                   = GetComponent <AudioSource> ();
        AudioManipul8r                = GameObject.Find("Soundm8").GetComponent <AudioManipul8r> ();
        Soundm8                       = GameObject.Find("Soundm8").GetComponent <Soundm8> ();
        backgroundThreadCompleted     = false;
        threeDimensionalSpectrumBuild = false;
        SpectrumBoy                   = GameObject.Find("SpectrumBoy").GetComponent <SpectrumBoy> ();

        InitializeChromesthesia();
    }
Example #2
0
 public void InitializeChromesthesia()
 {
     Player                        = GameObject.Find("Player");
     Soundm8                       = GameObject.Find("Soundm8").GetComponent <Soundm8>();
     AudioManipul8r                = GameObject.Find("Soundm8").GetComponent <AudioManipul8r>();
     backgroundThreadCompleted     = false;
     threeDimensionalSpectrumBuild = false;
     SpectrumBoy                   = GameObject.Find("SpectrumBoy").GetComponent <SpectrumBoy> ();
     Soundm8.processSignal(AudioSource);
     loadingScreen = GameObject.Find("LoadingInfo");
     loadingScreen.SetActive(true);
 }
Example #3
0
    /* END ONLY IN TESTING */

    void Start()
    {
        AudioSource = GetComponent <AudioSource> ();
        Soundm8     = GameObject.Find("Soundm8").GetComponent <Soundm8> ();
        backgroundThreadCompleted     = false;
        threeDimensionalSpectrumBuild = false;

        /* THIS IS ONLY IN TESTING */

        TestSpectrumBoy = GameObject.Find("TestSpectrumBoy").GetComponent <TestSpectrumBoy> ();

        /* END ONLY IN TESTING */

        InitializeChromesthesia();
    }