Ejemplo n.º 1
0
 private void OnScreenChanged(GameViewScreen screen)
 {
     if (screen != null)
     {
         this.OnScreenChanged(screen.safeArea, screen.size);
     }
     else
     {
         _rect = Rect.zero;
     }
 }
Ejemplo n.º 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;
     }
 }