//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; }
public void addSampleRange(WaveRange newRange) { ranges.Add(newRange); }