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.CreateWithUnityLogo

Switch to Manual
public static PlayerSettings.SplashScreenLogo CreateWithUnityLogo(float duration = k_MinLogoTime);

Parameters

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

Returns

SplashScreenLogo The new logo.

Description

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