예제 #1
0
 // Update is called once per frame
 void FixedUpdate()
 {
     //check to make sure the scores for the proper scope and mode are on display, and if they aren't, change them
     if (Scopes.gameObject.activeInHierarchy)
     {
         currScope = Scopes.CurrentScreen();
         currMode  = Modes.CurrentScreen();
         if (currScope != prevScope || currMode != prevMode)
         {
             Populate_Scores_List();
         }
         prevScope = currScope;
         prevMode  = currMode;
     }
 }