Help ‘Public Methods & Return Types’

I keep getting this error and tried searching but no luck, any solutions?

Hi Karl,

Does the file name match the class name inside the file? For example, is the State class inside the State.cs file? Does MonoBehaviour have the same colour as your classname? If not, there might be a problem with Visual Studio. Please watch lecture “Fixing Visual Studio Problems” (currently #4).

Thank you! I didn’t know that it has to be the same name as the class in the other file. :disappointed_relieved: :disappointed_relieved:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.