Class GameViewSize
Assembly: solution.dll
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
Type |
Name |
Description |
int |
width |
|
int |
height |
|
Returns
Declaration
public static void BackupCurrentSize()
Declaration
public static void GetGameRenderSize(out int width, out int height)
Parameters
Type |
Name |
Description |
int |
width |
|
int |
height |
|
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
Type |
Name |
Description |
int |
width |
|
int |
height |
|
Returns