Hello, I’m on Lecture 17 working on the Level grid. My code was working until I hit the point of trying to transform everything into a UnitList. Once I started trying to run it I now have a ton of errors and I’m not sure why! I even went as far as copy pasting all changed files from the gitlab trying to figure out exactly which file was causing the error.
Here are the errors I’m looking at.
Here is GridDebugObject.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class GridDebugObject : MonoBehaviour
{
[SerializeField] private TextMeshPro textMeshPro;
private GridObject gridObject;
public void SetGridObject(GridObject gridObject)
{
this.gridObject = gridObject;
}
private void Update()
{
textMeshPro.text = gridObject.ToString();
}
}
Help?