public class gameManager : MonoBehaviour;
bool ghe = false;
{
public void EndGame()
{
if (ghe == false)
{
ghe = true;
}
}
}
It says that i am missing ’ or { or (. Why?
public class gameManager : MonoBehaviour;
bool ghe = false;
{
public void EndGame()
{
if (ghe == false)
{
ghe = true;
}
}
}
It says that i am missing ’ or { or (. Why?
OK. I spent way too much time on a syntax error! I had { in the wrong place.