using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Rendering; public class SkipUnitySplash : MonoBehaviour { [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSplashScreen)] static void OnBeforeSplash() { // 打包后运行时,直接停掉启动画面 SplashScreen.Stop(SplashScreen.StopBehavior.StopImmediate); } }