-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscenes_controller.cs
45 lines (41 loc) · 990 Bytes
/
scenes_controller.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Scenes_Controller : MonoBehaviour
{
// Start is called before the first frame update
public void explosion()
{
SceneManager.LoadScene("make_blocks");
}
public void firewok()
{
SceneManager.LoadScene("Firework");
}
public void blade()
{
SceneManager.LoadScene("Turbine");
}
public void helicopter()
{
SceneManager.LoadScene("Animator");
}
public void team_members()
{
SceneManager.LoadScene("Team_Members");
}
public void exit_application()
{
Debug.Log("You Quit the application");
Application.Quit();
}
public void Exit_To_menu()
{
SceneManager.LoadScene("Menu");
}
public void reload()
{
SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex);
}
}