LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

PlayerSettings.SplashScreenLogo.Create

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

Parameters

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

Returns

SplashScreenLogo The new logo.

Description

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