Implement final scene

This commit is contained in:
WillJeynes
2026-08-29 20:44:27 +01:00
parent fec7b392b5
commit 0c897631bc
18 changed files with 6049 additions and 4748 deletions
+9
View File
@@ -4,6 +4,7 @@ using System.Collections.Generic;
using JetBrains.Annotations;
using TMPro;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using Utils;
@@ -56,10 +57,18 @@ public class SpeechManager : Singleton<SpeechManager>
{
AudioManager.Instance.PlaySound("Select");
gameObject.SetActive(false);
//BORKBORKBORK
if (counter++ > 0 && LevelLoader.Instance.GlobalModifier == "CUP")
{
CupShuffle.Instance.StartShuffle();
}
//BORKBORKBORKBORK
if (GlobalStateManager.Instance.finalScene)
{
SceneManager.LoadScene(0);
}
}
}