mirror of
https://github.com/zoriya/Skillfight.git
synced 2026-05-22 23:02:57 +00:00
17 lines
300 B
C#
17 lines
300 B
C#
using System.Collections;
|
|
using UnityEngine;
|
|
|
|
public class JoiningLobby : MonoBehaviour {
|
|
|
|
private void OnEnable()
|
|
{
|
|
StartCoroutine(Enable());
|
|
}
|
|
|
|
private IEnumerator Enable()
|
|
{
|
|
yield return new WaitForSeconds(1.5f);
|
|
gameObject.SetActive(false);
|
|
}
|
|
}
|