示例#1
0
    //Called By the WaveRange If It Has A Connected EffectThisScript
    public void initWithRange(WaveRange cnctRng)
    {
        connectedRange = cnctRng;
        initialized = true;

        //Add Whatever You Would Like Here Using the Public Data From the WaveRange

        //Example Initialize Code - This Example Sets the Color to the WaveRange's Color and Stores It
        renderer.material.color = originalColor = connectedRange.thresholdColor;
    }
示例#2
0
 public void addSampleRange(WaveRange newRange)
 {
     ranges.Add(newRange);
 }