Exemple #1
0
 public static void MakeVirtual(Vector2 virtualbounds)
 {
     Screen.virtualbounds = virtualbounds;
     isVirtual            = true;
     Manager.HandleEvent(new DisplaySizeChangedEvent(virtualbounds));
 }
Exemple #2
0
 public static void MakeReal()
 {
     isVirtual = false;
     Manager.HandleEvent(new DisplaySizeChangedEvent(new Vector2(ViewWidth, ViewHeight)));
 }