I cant use a function, `public void HighScore()
{
if(score > PlayerPrefs.SetInt("HighScore", 0))
{
PlayerPrefs.SetInt("HighScore", score);
highTxt.text = score.ToString();
}
}
` because i get the error " Assets\Scripts\Score.cs(143,12): error CS0019: Operator ‘>’ cannot be applied to operands of type ‘int’ and ‘void’ " (the score is an interger). How could I make this code work?
Thank you =)