_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/Battle_Royale/LoadPanel.cs

28 lines
408 B
C#
Raw Normal View History

2024-11-19 17:55:35 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LoadPanel : BasePanel
{
public static LoadPanel instance;
2024-11-27 18:05:26 +08:00
2024-11-19 17:55:35 +08:00
public override void Start()
{
instance = this;
base.Start();
2024-11-27 18:05:26 +08:00
2024-11-19 17:55:35 +08:00
ShowPanel();
}
public IEnumerator ToHidePanel()
{
yield return new WaitForSeconds(1.0f);
HidePanel();
}
2024-11-27 18:05:26 +08:00
2024-11-19 17:55:35 +08:00
}