|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class StartUI : MonoBehaviour
|
|
{
|
|
|
|
private void Start()
|
|
{
|
|
StartCoroutine (fun());
|
|
|
|
}
|
|
|
|
IEnumerator fun()
|
|
{
|
|
yield return new WaitForSeconds(5);
|
|
Destroy(this.gameObject);
|
|
}
|
|
}
|
|
|