Okay, I have seen a LOT of people posting the same errors etc. But, none of them have helped me out.
The error is a “Assets/Scripts/GameManager.cs(17,1): error CS8025: Parsing error”, and the code is as follows…
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GameManager : MonoBehavior {
public List<Character> Characters = new List<Character>();
void Start (){
}
void Update() {
}
}
{System.Serializable}
public class Character() {
public string Name;
public Texture2D Icon;
public GameObject PlayerPrefab;
}
The line that the error is referring to is “{System.Serializable}” but I can’t find any issues…
Thanks guys !!!