This commit is contained in:
JA
2026-06-20 19:34:23 +08:00
parent e5031c0068
commit d442805c3f
4136 changed files with 514641 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
using Manager;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class UIGameOver : UIWindow
{
public Vector3 oldScal;
//public GameObject ContinueButton;
private void Awake()
{
oldScal = transform.localScale;
}
public void OnReset()//»Øµ½´óÌü
{
Debug.Log("UI");
//SoundManager.Instance.PlaySound(SoundDefine.ButtonClick);
SenceManager.Instance.LoadScene(1);
SoundManager.Instance.PlayMusic(SoundDefine.Map_1Music);
PlayerInfo.Instance.Resrt();
}
public void OnExit()
{
SenceManager.Instance.LoadScene(0);
PlayerInfo.Instance.info.currentMap = 1;
SaveSystem.SaveDate(PlayerInfo.Instance.info.DatePath, PlayerInfo.Instance.info);
SoundManager.Instance.PlayMusic(SoundDefine.LoadingMusic);
}
}