private void SetScreenLogo()
{
PlayerSettings.SplashScreen.showUnityLogo = false;// 屏蔽下方显示unity的logo (包含文字made with unity 和unity 的logo)
var logo = AssetDatabase.LoadAssetAtPath("Assets/SplashScreen/splash.png", typeof(Sprite)) as Sprite;
var slogo = PlayerSettings.SplashScreenLogo.Create(2, logo);
PlayerSettings.SplashScreen.logos = new PlayerSettings.SplashScreenLogo[1] { slogo };
//Resources.UnloadAsset(logo);
}
打包的时候调用:SetScreenLogo()