mirror of
https://github.com/DerTyp7/grow-ai-unity.git
synced 2025-11-03 06:23:47 +01:00
added Gridinfo
This commit is contained in:
17
Assets/GridInfo.cs
Normal file
17
Assets/GridInfo.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user