Hello,
I am experiencing an error where when I try to add a script to a text object, I get a pop-up stating that "Can't add script component 'NAME' because the script class cannot be found. Make sure that there are no compiler errors and that the file name and class name match" . The class name and script name DO match (they are both CubeTime with correct capitalization) and there are no compiler errors as the only thing in the code is defining a public variable at the moment. In addition, when it was working the script would disappear from the text object upon saving the scene. Please help?
EDIT: forgot to mention, I am getting errors in the console with no message in them when I try to run the game when the script decides to load
EDIT2: Unity also says that there is No MonoBehaviour script in the file, or their names do not match the file name but the names DO match