using NoiseTest; using UnityEngine; public class EnvironmentBase { public OpenSimplexNoise test = new(); // Start is called before the first frame update private void Start() { } // Update is called once per frame private void Update() { } public float GetTest(Vector2 pos) { var posx = new decimal(pos.x); var posy = new decimal(pos.y); return (float)test.Evaluate((double)posx, (double)posy); } public float GetNutrients() { return 1f; } public float GetTemperature() { return 1f; } }