Newer
Older
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BiomeMaster : MonoBehaviour
{
[Header("Debug")]
public int debugSize = 500;
public float debugFrequency = 0.1f;
#region Buttons
[Button("Update Debug")]
private void UpdateDebug()
float x = i * debugFrequency;
float y = j * debugFrequency;
foreach (var param in parameters)
{
param.DrawDebug(x, y);
[Button("Reseed Octaves")]
private void ReseedParameters()
{
foreach (var param in parameters)
{
param.ReseedOctaves();
}
}