コード例 #1
0
    void Update()
    {
        bd.updateSamples();

        for (int i = 0; i < cubes.Length; i++)
        {
            float high = bd.getSampleAvg(i, cubes.Length);
            cubes [i].transform.localScale = new Vector3(high * mulitplier, 1, 1);
        }
    }