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