28 lines
408 B
C#
28 lines
408 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class LoadPanel : BasePanel
|
|
{
|
|
public static LoadPanel instance;
|
|
|
|
|
|
public override void Start()
|
|
{
|
|
instance = this;
|
|
base.Start();
|
|
|
|
ShowPanel();
|
|
}
|
|
|
|
public IEnumerator ToHidePanel()
|
|
{
|
|
yield return new WaitForSeconds(1.0f);
|
|
HidePanel();
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|