Why are you trying so hard to put this dev down? You keep going on about numbers, and trying to imply they shouldn't be celebrating that they have people across the world playing and seemingly enjoying the game. Everyone has different goals for their projects. If their metric for success was "I want to release a project on a major platform, and have at least one person play it and say they enjoyed it" and they accomplished that, then the project was a success for them.
I even want to give them kudos for having the balls to put a price tag on the first game they released. I sure as hell didn't do that with my first project, and I was ecstatic that my free game got something of a total of 100 downloads. They did that, and still have people downloading and enjoying it. I know for me, the "success" of that first project motivated me, I built on it, and now I've worked on games that millions have played and that pull in more money than you'll ever see in a lifetime.
From what I can tell, all your code looks correct and shouldn't have any errors. The only thing you should change is that in C# classes are formatted as PascalCase, so your class should be named PlayerController and the file should have the exact same casing and spelling.
Based on your other comment about it not being able to detect System.Object, I would guess that something is messed up with your Unity install (since Unity comes bundled with it's own .NET libraries) or your solution/project files (.sln/.csproj). Try the following:
Delete the .sln file and the .csproj files from your project folder (they will get rebuilt when you reopen the project in Unity)
Why are you trying so hard to put this dev down? You keep going on about numbers, and trying to imply they shouldn't be celebrating that they have people across the world playing and seemingly enjoying the game. Everyone has different goals for their projects. If their metric for success was "I want to release a project on a major platform, and have at least one person play it and say they enjoyed it" and they accomplished that, then the project was a success for them.
I even want to give them kudos for having the balls to put a price tag on the first game they released. I sure as hell didn't do that with my first project, and I was ecstatic that my free game got something of a total of 100 downloads. They did that, and still have people downloading and enjoying it. I know for me, the "success" of that first project motivated me, I built on it, and now I've worked on games that millions have played and that pull in more money than you'll ever see in a lifetime.
Quit being a jerk.
From what I can tell, all your code looks correct and shouldn't have any errors. The only thing you should change is that in C# classes are formatted as PascalCase, so your class should be named PlayerController and the file should have the exact same casing and spelling.
Based on your other comment about it not being able to detect System.Object, I would guess that something is messed up with your Unity install (since Unity comes bundled with it's own .NET libraries) or your solution/project files (.sln/.csproj). Try the following:
End of this list.
Back to top