added Gridinfo

This commit is contained in:
j.mei7
2022-03-09 19:02:26 +01:00
parent 5a680495ce
commit 25ce88501d
7 changed files with 59 additions and 19 deletions

17
Assets/GridInfo.cs Normal file
View File

@@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GridInfo : MonoBehaviour
{
public static GridInfo instance;
public int gridWidth = 20;
public int gridHeight = 20;
public float cellSize = 1f;
private void Awake()
{
instance = this;
}
}