Commit 5cff3977 authored by Mitchie Maluschnig's avatar Mitchie Maluschnig
Browse files

performance menu can now be exited

parent edb47139
......@@ -1084,7 +1084,18 @@ MonoBehaviour:
m_TargetGraphic: {fileID: 1770293796}
m_OnClick:
m_PersistentCalls:
m_Calls: []
m_Calls:
- m_Target: {fileID: 1441305869}
m_MethodName: ExitPerformance
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
--- !u!114 &1770293796
......
......@@ -9,11 +9,6 @@ public class PerformanceMenu : MonoBehaviour {
void Start () {
}
// Update is called once per frame
void Update () {
}
public void PieThrowing() {
SceneManager.LoadScene("PieThrowing");
......@@ -26,4 +21,8 @@ public class PerformanceMenu : MonoBehaviour {
public void SimonSays() {
SceneManager.LoadScene("SimonTheBear");
}
public void ExitPerformance() {
SceneManager.LoadScene("Daytime");
}
}
Supports Markdown
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