Cutscene fixed & Creditscene Skript

This commit is contained in:
Ayumi
2023-06-28 10:05:52 +02:00
parent 657f7a839f
commit 0765e42f16
4 changed files with 780 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class NextSceneAfterCredits : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
StartCoroutine(NextScene());
}
// Update is called once per frame
void Update()
{
}
IEnumerator NextScene()
{
yield return new WaitForSeconds(59.9f);
SceneManager.LoadScene(0);
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a95f8ec55f252a047aad00a2975b93db
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: