22 lines
389 B
C#
22 lines
389 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();
|
||
|
}
|
||
|
}
|