Legacy Documentation: Version 5.5
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.SplashScreenLogo.Create

Switch to Manual
public static PlayerSettings.SplashScreenLogo Create(float duration = k_MinLogoTime, Sprite logo = null);

Parameters

duration The total time in seconds that the logo will be shown. Note minimum time is 2 seconds.
logo The logo Sprite to display.

Returns

SplashScreenLogo The new logo.

Description

Creates a new Splash Screen logo with the provided duration and logo Sprite.