| | |
| | | using Assets.Scripts.Enums; |
| | | using System.Collections; |
| | | using System.Collections.Generic; |
| | | using UnityEditor; |
| | |
| | | public void StartGame() |
| | | { |
| | | SceneManager.LoadScene(startGameScene.name); |
| | | } |
| | | public void SwitchToSettings() |
| | | { |
| | | } |
| | | public void SwitchToHome() |
| | | { |
| | | } |
| | | |
| | | public void EndGame() |
| | |
| | | Application.Quit(); |
| | | #endif |
| | | } |
| | | |
| | | public void OnMouseOver() |
| | | { |
| | | SoundManager.instance.PlaySound(SoundName.ButtonOnHover); |
| | | } |
| | | public void OnMouseDown() |
| | | { |
| | | SoundManager.instance.PlaySound(SoundName.ButtonOnClick); |
| | | } |
| | | public void OnSaveClick() |
| | | { |
| | | SoundManager.instance.PlaySound(SoundName.ButtonOnSave); |
| | | } |
| | | } |