Added all the needed scenes and made Scene1 Play button functional

This commit is contained in:
Jamma
2020-02-20 14:29:15 +02:00
parent eb68660864
commit fad9b0790c
14 changed files with 1786 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ChangeScene : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
StartCoroutine(ChangeSceneToGame());
}
private IEnumerator ChangeSceneToGame()
{
yield return new WaitForSeconds(5);
SceneManager.LoadScene(3);
}
}