C# Class UnityEditor.WSA.MetroSettingsEditorExtension

Inheritance: UnityEditor.Modules.DefaultPlayerSettingsEditorExtension
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
CanShowUnitySplashScreen ( ) : bool
HasResolutionSection ( ) : bool
IconSectionGUI ( ) : void
OnEnable ( PlayerSettingsEditor settingsEditor ) : void
PublishSectionGUI ( float h, float kLabelMinWidth, float kLabelMaxWidth ) : void
ResolutionSectionGUI ( float h, float midWidth, float maxWidth ) : void
SplashSectionGUI ( ) : void
SupportsOrientation ( ) : bool

Private Methods

Method Description
CreateScaledImageGroup ( UnityEditor.PlayerSettings type, UnityEditor.PlayerSettings scales, string labelFormat, int widths, int heights ) : MetroScaledImageGroup
CreateScaledImages ( UnityEditor.PlayerSettings type, UnityEditor.PlayerSettings scales, string labelFormat, int widths, int heights ) : MetroScaledImage[]
CreateScaledSquareImageGroup ( UnityEditor.PlayerSettings type, UnityEditor.PlayerSettings scales, string labelFormat, int sizes ) : MetroScaledImageGroup
CreateScaledSquareImages ( UnityEditor.PlayerSettings type, UnityEditor.PlayerSettings scales, string labelFormat, int sizes ) : MetroScaledImage[]
ImageField ( MetroScaledImage image, GUIContent label ) : void
ImageField ( UnityEditor.PlayerSettings type, UnityEditor.PlayerSettings scale, GUIContent label, int imageWidth, int imageHeight, string &imagePath, Texture2D &image ) : void
MetroLogoSection ( ) : void
MetroSplashScreenSection ( float kLabelMinWidth, float kLabelMaxWidth, float kLabelMinHeight, float kLabelMaxHeight ) : void
ScaledImageGroup ( string groupLabel, MetroScaledImageGroup images ) : bool
ValidateImage ( string imageFile, int width, int height ) : bool
ValidateMetroApplicationDescription ( string value ) : string
ValidateMetroTileShortName ( string value ) : string

Method Details

CanShowUnitySplashScreen() public method

public CanShowUnitySplashScreen ( ) : bool
return bool

HasResolutionSection() public method

public HasResolutionSection ( ) : bool
return bool

IconSectionGUI() public method

public IconSectionGUI ( ) : void
return void

OnEnable() public method

public OnEnable ( PlayerSettingsEditor settingsEditor ) : void
settingsEditor PlayerSettingsEditor
return void

PublishSectionGUI() public method

public PublishSectionGUI ( float h, float kLabelMinWidth, float kLabelMaxWidth ) : void
h float
kLabelMinWidth float
kLabelMaxWidth float
return void

ResolutionSectionGUI() public method

public ResolutionSectionGUI ( float h, float midWidth, float maxWidth ) : void
h float
midWidth float
maxWidth float
return void

SplashSectionGUI() public method

public SplashSectionGUI ( ) : void
return void

SupportsOrientation() public method

public SupportsOrientation ( ) : bool
return bool