Health/Assets/Scripts/UI/SplashUI.cs

16 lines
348 B
C#

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