I want to start by saying I did search first, and found a lot of similar issues on various other things, but not this problem exactly.
I have this code:
You can't have two components of your class using the same name. So change this:
bool gameOver = false;
public bool gameOver
{
get { return gameOver; }
set { gameOver = value; }
}
To this:
private Boolean m_GameOver = false;
public Boolean GameOver
{
get { return m_GameOver; }
set { m_GameOver = value; }
}