using System.Collections; using System.Collections.Generic; using UnityEngine; public class Panel_Splash : TWS_UIPanel { public override void Initialize() { StartCoroutine(LaunchLoadingDataUI()); } IEnumerator LaunchLoadingDataUI() { yield return new WaitForSeconds(2); // FadeSystem.Instance.Fade(()=>UI_Manager.Instance.OpenPanel()); UI_Manager.Instance.OpenPanel(); } }