Exemplo n.º 1
0
    public override void OnValidate()
    {
        Debug.Log("Noise Controler: OnValidate");

        if (generator == null)
        {
            generator = new Perlin3DGenerator();
            generator.newNoise(noise_con_set);
        }

        viewer = GetComponent <NoiseViewer>();
        viewer.setNoiseController(this);
        Debug.Log("is view null: " + viewer == null);
        sendNoiseToViewer();
    }
Exemplo n.º 2
0
 public void newNoise(NoiseControlerSettings settings)
 {
     perlin.newNoise(settings);
 }