void Start()
 {
     NFF       = GameObject.Find("NoiseFlowField").GetComponent <NoiseFlowField>();
     audioPeer = GameObject.Find("AudioPeer").GetComponent <AudioPeer>();
     AFF       = NFF.GetComponent <AudioFlowField>();
     this.gameObject.GetComponent <MeshRenderer>().material = AFF.audioMaterial[band];
     audioband = band;
     this.transform.rotation = Random.rotation;
 }
    // Use this for initialization
    void Start()
    {
        NFF = GameObject.Find("NoiseFlowField").GetComponent <NoiseFlowField>();
        AFF = NFF.GetComponent <AudioFlowField>();
        int band = Random.Range(0, 8);

        //for(int i = 0; i < NFF.bloomParticles.Count; i++)
        //{
        //    //int band = NFF.countBand % 8;

        //    NFF.staticParticleMeshRenderer[i].material = AFF.audioMaterial[band];
        //    NFF.staticParticles[i].audioband = band;

        //    NFF.countBand++;
        //}
    }