Finish the puzzling. Add the cup level
This commit is contained in:
@@ -25,6 +25,8 @@ public class SpeechManager : Singleton<SpeechManager>
|
||||
|
||||
public string Status = "TALKING";
|
||||
|
||||
private int counter = 0;
|
||||
|
||||
void Start()
|
||||
{
|
||||
playerPanel = transform.FindChildRecursive("PLAYERPANEL").gameObject;
|
||||
@@ -53,6 +55,10 @@ public class SpeechManager : Singleton<SpeechManager>
|
||||
{
|
||||
AudioManager.Instance.PlaySound("Select");
|
||||
gameObject.SetActive(false);
|
||||
if (counter++ > 0 && LevelLoader.Instance.GlobalModifier == "CUP")
|
||||
{
|
||||
CupShuffle.Instance.StartShuffle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user