private void OnEnable() { noise = (NoiseGUI)target; }
public void OnEnable() { noiseGUI = new NoiseGUI(noiseDesc); noiseFunction = noiseGUI.noiseFunction; }
public void OnEnable() { noiseGUI = new NoiseGUI(noiseDesc); noiseFunction = noiseGUI.noiseFunction; fractalNoise = new FractalNoise(noiseFunction, octaves, frequency, amplitude); }