Esempio n. 1
0
    protected override void Update()
    {
        base.Update();

        if (Quest.Instance != null)
        {
            bool haveNotification = Quest.Instance.Queue.Count > 0;

            _buttonMap.SetActive(!haveNotification);
            _buttonNotification.SetActive(haveNotification);
        }
    }