Galaxy Generator

This commit is contained in:
mkadou
2023-06-05 15:34:37 +02:00
parent ec4cda81e9
commit 3db8cc2930
195 changed files with 47018 additions and 0 deletions

17
Assets/Exit.cs Normal file
View File

@@ -0,0 +1,17 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Exit : MonoBehaviour
{
public string sceneName;
// To change the scene by name
public void changeScene()
{
Debug.Log("Taste exit wurde gedr<64>ckt!");
SceneManager.LoadScene(sceneName);
}
}