C# Class FBScreen, swip3

Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Méthode Description
CenterHorizontal ( ) : Layout.OptionCenterHorizontal
CenterVertical ( ) : Layout.OptionCenterVertical
Left ( float amount ) : Layout.OptionLeft
SetAspectRatio ( int width, int height ) : void
SetResolution ( int width, int height, bool fullscreen, int preferredRefreshRate ) : void
SetUnityPlayerEmbedCSS ( string key, string value ) : void
Top ( float amount ) : Layout.OptionTop

Private Methods

Méthode Description
SetLayout ( IEnumerable parameters ) : void

Method Details

CenterHorizontal() public static méthode

public static CenterHorizontal ( ) : Layout.OptionCenterHorizontal
Résultat Layout.OptionCenterHorizontal

CenterVertical() public static méthode

public static CenterVertical ( ) : Layout.OptionCenterVertical
Résultat Layout.OptionCenterVertical

Left() public static méthode

public static Left ( float amount ) : Layout.OptionLeft
amount float
Résultat Layout.OptionLeft

SetAspectRatio() public static méthode

public static SetAspectRatio ( int width, int height ) : void
width int
height int
Résultat void

SetResolution() public static méthode

public static SetResolution ( int width, int height, bool fullscreen, int preferredRefreshRate ) : void
width int
height int
fullscreen bool
preferredRefreshRate int
Résultat void

SetUnityPlayerEmbedCSS() public static méthode

public static SetUnityPlayerEmbedCSS ( string key, string value ) : void
key string
value string
Résultat void

Top() public static méthode

public static Top ( float amount ) : Layout.OptionTop
amount float
Résultat Layout.OptionTop