miepzerino
2025-03-28 b7518b77da6511a396501b51b5046ed86ce8d98b
Assets/Scripts/GenerateTileMap.cs
@@ -32,9 +32,9 @@
public class GenerateTileMap : MonoBehaviour
{
    public int? seed;
    public int maxWidth = 256;
    public int maxHeight = 384;
    public int maxGroundHeight = 256;
    public static int maxWidth = 256;
    public static int maxHeight = 384;
    public static int maxGroundHeight = 256;
    private float scale;
    private float offsetX;
    private float offsetY;
@@ -56,6 +56,8 @@
        }
        SetSettingsFromSeed(seed.Value);
        transform.position = new Vector3((maxWidth / 2) * -1, (maxGroundHeight + 1) * -1, transform.position.z);
    }
    public void SetSettingsFromSeed(int seed)