If I follow your example I use this with nothing in the argument for StartGame
void StartGame()
{
currentScreen = Screen.Password;
Terminal.WriteLine("You have chosen level " + level);
Terminal.WriteLine(“Please enter your password.”);
}
and I get an error (Assets/WM2000/Scripts/Hacker.cs(37,12): error CS1501: No overload for method StartGame' takes
1’ arguments) same on line 43 where I use StartGame.
If I keep the argument in:
void StartGame(int level)
Then it works
Please explain.