protected string GetDefaultSplashScreenImage()
{
string str;
IDictionary<PlayerSettings.SplashScreen.UnityLogoStyle, string> defaultSplashScreens = this.GetDefaultSplashScreens();
if ((defaultSplashScreens == null) || (defaultSplashScreens.Count == 0))
{
throw new Exception("No splash screens are available!");
}
if (!defaultSplashScreens.TryGetValue(PlayerSettings.SplashScreen.unityLogoStyle, out str))
{
Debug.LogWarning(string.Format("No splash screen for {0} available", PlayerSettings.SplashScreen.unityLogoStyle));
str = Enumerable.First<KeyValuePair<PlayerSettings.SplashScreen.UnityLogoStyle, string>>(defaultSplashScreens).Value;
}
return str;
}