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