C# Class FBScreen, swip3

Mostra file Open project: unit9/swip3 Class Usage Examples

Public Methods

Method 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

Method Description
SetLayout ( IEnumerable parameters ) : void

Method Details

CenterHorizontal() public static method

public static CenterHorizontal ( ) : Layout.OptionCenterHorizontal
return Layout.OptionCenterHorizontal

CenterVertical() public static method

public static CenterVertical ( ) : Layout.OptionCenterVertical
return Layout.OptionCenterVertical

Left() public static method

public static Left ( float amount ) : Layout.OptionLeft
amount float
return Layout.OptionLeft

SetAspectRatio() public static method

public static SetAspectRatio ( int width, int height ) : void
width int
height int
return void

SetResolution() public static method

public static SetResolution ( int width, int height, bool fullscreen, int preferredRefreshRate ) : void
width int
height int
fullscreen bool
preferredRefreshRate int
return void

SetUnityPlayerEmbedCSS() public static method

public static SetUnityPlayerEmbedCSS ( string key, string value ) : void
key string
value string
return void

Top() public static method

public static Top ( float amount ) : Layout.OptionTop
amount float
return Layout.OptionTop