Question by
kyhnlbyrk · Aug 21, 2017 at 02:25 PM ·
methodmethodsapplication.loadlevel
When the Application.LoadLevel() called, is the remaining code works?
When the Application.LoadLevel() called, is the remaining code works? Is the program goes to the next line or it finished, when the method called ? When I call this method in the program, is the method finished in Application.LoadLevel (i); here ? Or does it go to the next if statement ?
void xyz(){
for (int i = 17; i <= 22; i++) {
if (PlayerPrefs.GetInt ("qwel") == i)
Application.LoadLevel (i);
}
if (PlayerPrefs.GetInt ("rty") == 1 && count == 1) {
PlayerPrefs.SetInt ("mmm", 17);
Application.LoadLevel(17);
}
}
Comment
Your answer
Follow this Question
Related Questions
Technically Match 3 but not really 0 Answers
Method Group 1 Answer
Animator's SetFloat method does not appear in Intellisense suggestions 0 Answers
List.FindIndex 1 Answer
Declared variable being returned as null in a method? 0 Answers