I hope I did everything right, but the grid doesn’t appear and this message pops up:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Testing : MonoBehaviour
{
[SerializeField] private Transform gridDebugObjectPrefab;
private GridSystem gridSystem;
private void Start()
{
gridSystem = new GridSystem(10, 10, 2f);
gridSystem.CreateDebugObjects(gridDebugObjectPrefab);
Debug.Log(new GridPosition(5, 7));
}
}