using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class ContinueToGameScene : MonoBehaviour
{
    public GameObject anim;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    void Update()
    {
        if (Input.anyKey)
        {
            anim.SetActive(true);
            Invoke("LoadGameScene", 1.5f);
        }
    }
    void LoadGameScene()
    {
        SceneManager.LoadScene(2);
    }
}