Beispiel #1
0
    public void ExitOptions()
    {
        if (Change)
        {

            PopUps pop= GameObject.FindGameObjectWithTag("OptionsManager").GetComponent<PopUps>();
            pop.PopUp("Save current changes?");
        }
        else{
            optionsCanva.gameObject.SetActive(false);
            pauseCanva.enabled= true;

        }
    }
Beispiel #2
0
    public void Confirm()
    {
        PopUps pop = GameObject.FindGameObjectWithTag(ManagerName).GetComponent <PopUps>();

        pop.PopUp(Text);
    }