Example #1
0
    // Use this for initialization
    void Start()
    {
        InitializeToneSets(mainToneSetObject, mainRythmSetObject, mainBassSetObject);

        bassInput = beatMan.GetComponent <UserInput>();

        tonePos  = 0;
        rythmPos = 0;
        bassPos  = 0;



        tonePlayable  = true;
        rythmPlayable = true;
        bassPlayable  = true;

        p2name = Player2.name;

        P2isRythm = player2rythm;
        snapshots = new AudioMixerSnapshot[3];
    }