示例#1
0
 private void OnScreenChanged(GameViewScreen screen)
 {
     if (screen != null)
     {
         this.OnScreenChanged(screen.safeArea, screen.size);
     }
     else
     {
         _rect = Rect.zero;
     }
 }
示例#2
0
 private static void OnScreenChanged(GameViewScreen screen)
 {
     if (screen != null)
     {
         gearImage.image.visible = true;
         settingsWindow.visible  = false;
     }
     else
     {
         gearImage.image.visible = false;
         settingsWindow.visible  = false;
     }
 }