using System; using SHADE; public class MainMenu : Script { protected override void awake() { Audio.PlayBGMOnce2D("event:/Music/main_menu"); } protected override void update() { if (Input.GetKey(Input.KeyCode.Space)) { Audio.PlaySFXOnce2D("event:/UI/mouse_down_element"); SceneManager.ChangeScene(86098106); Audio.StopAllSounds(); } if (Input.GetKey(Input.KeyCode.Escape)) { Audio.StopAllSounds(); Application.Quit(); } } }