Okay, first off, I am a complete noob when it comes to coding. Don’t get surprised that I literally know nothing, my code’s probably horrible but oh well. Now that’s out of the way, I’m getting this error, “No overload for method ‘Log’, takes 3 arguments.” Here is the problem code:
class People {
int strength;
int stamina;
int compassion;
//i dont want the integers shown so dont ask
string name;
string mORf;
public void Info(){
//debug log was just to test if my code worked so its not 100% useful
Debug.Log("Name:{0} Male or Female:{1}", name, mORf);
}
//there is more code, but this is the only bit causing trouble
I don’t want to know there’s a more graceful way of doing this and I don’t want to know the problem’s obvious. It’s not, at least, not to me. Tell me how to fix it and that’s it.