Class UnityScreenGateway
The only reader and writer of UnityEngine.Screen in the GameGraphics module.
Inheritance
UnityScreenGateway
Assembly: Serenity.UnityGameGraphics.Infrastructure.dll
Syntax
public class UnityScreenGateway : IScreenGateway
Constructors
UnityScreenGateway()
Declaration
public UnityScreenGateway()
Properties
Height
Declaration
public int Height { get; }
Property Value
IsFullScreen
Declaration
public bool IsFullScreen { get; }
Property Value
Width
Declaration
public int Width { get; }
Property Value
Methods
SetFullScreen(bool)
Declaration
public void SetFullScreen(bool isFullScreen)
Parameters
| Type |
Name |
Description |
| bool |
isFullScreen |
|
SetResolution(int, int, bool)
Declaration
public void SetResolution(int width, int height, bool isFullScreen)
Parameters
| Type |
Name |
Description |
| int |
width |
|
| int |
height |
|
| bool |
isFullScreen |
|
Implements