public static class GameViewSize
Properties
Current size of the Game View
Declaration
public static object currentSize { get; }
Property Value
Methods
Add a custom game view size to the list of available sizes
Declaration
public static object AddSize(int width, int height)
Parameters
Returns
Declaration
public static void BackupCurrentSize()
Declaration
public static void GetGameRenderSize(out int width, out int height)
Parameters
Declaration
public static void RestoreSize()
Declaration
public static void SelectSize(object size)
Parameters
Type |
Name |
Description |
Object |
size |
|
Create and set a custom size for the Game View
Declaration
public static object SetCustomSize(int width, int height)
Parameters
Returns