using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SplashUI : UIPanelBase { public void Close() { var animator = GetComponent(); animator.StopPlayback(); UIManager.Instance.CloseCurrent(); UIManager.Instance.ShowPanel(); } }