fix:解决游戏结束,枪械问题,解决漂流瓶不消失问题
This commit is contained in:
@@ -536,6 +536,7 @@ public class GameManager : MonoBehaviour
|
||||
{
|
||||
isGameEnd = true;
|
||||
fishSpawner.DestroyAllFish();
|
||||
driftBottleManager.ClearAllStatuesCompleted();
|
||||
EventDispatcher.TriggerEvent("HideShop",1);
|
||||
ShowEndGameUI(true);
|
||||
AudioManager.Ins.SoundPlay(1, true);
|
||||
@@ -559,10 +560,10 @@ public class GameManager : MonoBehaviour
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Space))
|
||||
{
|
||||
GameInit.Ins.self.AddCoin(5000);
|
||||
//GameInit.Ins.self.AddScore(10000);
|
||||
//WinEndGame();
|
||||
StartFishTideEvent();
|
||||
//GameInit.Ins.self.AddCoin(5000);
|
||||
GameInit.Ins.self.AddScore(10000);
|
||||
WinEndGame();
|
||||
//StartFishTideEvent();
|
||||
//StartDriftBottleEvent();
|
||||
}
|
||||
if (fishSpawner.GetFishCount(FishType.AngelHorse) >= 1)
|
||||
|
||||
Reference in New Issue
Block a user