second iter

This commit is contained in:
2022-06-27 11:54:53 +02:00
parent 1080b53db3
commit a608184e2f
49 changed files with 13045 additions and 50 deletions

View File

@@ -0,0 +1,26 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class loadGameAftexsecs : MonoBehaviour
{
public int secondsToWait = 5;
// Start is called before the first frame update
IEnumerator Startx()
{
yield return new WaitForSeconds(secondsToWait);
SceneManager.LoadScene("Game");
}
void Start()
{
//start coroutine
StartCoroutine(Startx());
}
// Update is called once per frame
void Update()
{
}
}