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