- Home /
 
 
               Question by 
               arvin_cruz100 · Oct 20, 2014 at 09:27 AM · 
                c#errorflagged-for-delete  
              
 
              error on getint c#
im having an error on get int and i dont know why here's the code
 public int levelReached3 = 0;
 
  levelReached1 = PlayerPrefs.GetInt("SavedLevel1");
 
              
               Comment
              
 
               
              You have declared levelReached3 variable and trying to access the levelReached1 to store the retrieved integer from PlayerPrefs.
So check if you have declared levelReached1 variable.
Oh, it's that unknown error again. I've heard about that but have never seen it myself. When i get an error it's always paired with an error text. ;)
Your answer
 
             Follow this Question
Related Questions
Semicolons are seen as an unexpected symbol 1 Answer
Getting index of the smallest number in a list 1 Answer
Particle circle HELP 1 Answer