赞
踩
unity 官方文档
实际操作的时候可以调用
[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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。