private void OnTriggerEnter(Collider other)
    {
        if (!_active)
        {
            return;
        }

        DeActivate();
        nextQuest.Activate();
        _popup.Show($"Go to {nextQuest.name} box.");
    }
Example #2
0
 public void EndGameTimeout(Color color)
 {
     stop = true;
     popup.SetText(color.ToString() + " won by timeout!");
     popup.Show();
 }