Commit 843563a6 authored by Manuel Buß's avatar Manuel Buß
Browse files

Solution A10

parent c75e250b
This diff is collapsed.
fileFormatVersion: 2
guid: 6bd41b176dbe0d5468c1353335c891b5
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 52b49b52caa67f444bc2a2f3f2536d83
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuActions : MonoBehaviour
{
public void StartGame()
{
SceneManager.LoadScene("Level", LoadSceneMode.Single);
SceneManager.LoadScene("IngameUI", LoadSceneMode.Additive);
}
public void Exit()
{
#if UNITY_EDITOR
EditorApplication.isPlaying = false;
#endif
Application.Quit();
}
}
\ No newline at end of file
fileFormatVersion: 2
guid: fec9fa01b1b9e5f4ea2c2fac9185d647
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
......@@ -5,7 +5,16 @@ EditorBuildSettings:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 0
path:
guid: 00000000000000000000000000000000
- enabled: 1
path: Assets/Scenes/SampleScene.unity
guid: 2cda990e2423bbf4892e6590ba056729
path: Assets/_Game/Scenes/Menu.unity
guid: 6bd41b176dbe0d5468c1353335c891b5
- enabled: 1
path: Assets/_Game/Scenes/Level.unity
guid: be85a458566ca6f4d907583e28f70942
- enabled: 1
path: Assets/_Game/Scenes/IngameUI.unity
guid: 202a504b8cdef3246a6f608d064fe4f8
m_configObjects: {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment