I have a “Return” Button in my MissionCompleteMenu (UI). I have attached a Missions class in the scene and it has a method called MissionComplete(string _mission). But, although it lets me attach the method to the button, it tells me that it is Missing.
Attached is a screenshot showing the code and the error.
Does anyone know why the Editor is doing this? I assume it is human error, but I don’t understand what the error is.