Version: 2019.2

SplashScreen

class in UnityEditor

マニュアルに切り替える

説明

Interface to splash screen player settings.

Static 変数

animationBackgroundZoomThe target zoom (from 0 to 1) for the background when it reaches the end of the SplashScreen animation's total duration. Only used when animationMode is AnimationMode.Custom.
animationLogoZoomThe target zoom (from 0 to 1) for the logo when it reaches the end of the logo animation's total duration. Only used when animationMode is AnimationMode.Custom.
animationModeThe type of animation applied during the splash screen.
backgroundThe background Sprite that is shown in landscape mode. Also shown in portrait mode if backgroundPortrait is null.
backgroundColorThe background color shown if no background Sprite is assigned. Default is a dark blue RGB(34.44,54).
backgroundPortraitThe background Sprite that is shown in portrait mode.
drawModeDetermines how the Unity logo should be drawn, if it is enabled. If no Unity logo exists in [logos] then the draw mode defaults to DrawMode.UnityLogoBelow.
logosThe collection of logos that is shown during the splash screen. Logos are drawn in ascending order, starting from index 0, followed by 1, etc etc.
overlayOpacityIn order to increase contrast between the background and the logos, an overlay color modifier is applied. The overlay opacity is the strength of this effect. Note: Reducing the value below 0.5 requires a Plus/Pro license.
showSet this to true to display the Splash Screen be shown when the application is launched. Set it to false to disable the Splash Screen. Note: Disabling the Splash Screen requires a Plus/Pro license.
showUnityLogoSet this to true to show the Unity logo during the Splash Screen. Set it to false to disable the Unity logo. Note: Disabling the Unity logo requires a Plus/Pro license.
unityLogoStyleThe style to use for the Unity logo during the Splash Screen.