unity 官方文档
https://docs.unity3d.com/cn/2023.2/ScriptReference/Rendering.SplashScreen.StopBehavior.StopImmediate.html
实际操作的时候可以调用
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSplashScreen)]
#if !UNITY_EDITOR
using UnityEngine;
using UnityEngine.Rendering;
public class Boot
{
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSplashScreen)]
private static void RemoveSplashScreen()
{
SplashScreen.Stop(SplashScreen.StopBehavior.StopImmediate);
}
}
#endif