Example #1
0
    void Awake()
    {
        modules[0] = synthMod;
        modules[1] = synthMod;

        Debug.Log("MODULES 0 " + modules [0].GetComponent <SynthModule> ());
        synthMod0 = modules[0].GetComponent <SynthModule>();
        synthMod1 = modules[1].GetComponent <SynthModule>();
    }