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