I receive this error with the code below:
"The type or namespace ‘Serializable’ could not be found (are you missing a using directive or an assembly reference?)
Any help would be greatly appreciated. I’ve been stuck for a couple hours.
using UnityEngine;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using System.Collections.Generic;
public class Test_DataMgr : MonoBehaviour {
[Serializable]
public class TestClass
{
int TestInt;
}
}