Ejemplo n.º 1
0
        internal void Update()
        {
            if (UpdateNotification == null)
            {
                return;
            }
            if (!ShouldUpdate)
            {
                return;
            }
            ShouldUpdate = false;

            UpdateNotification.SetActive(Visible);
            UIManager.UnlockCursor = Visible;

            if (Visible)
            {
                UpdateText.text = GetUpdateMessage();
            }
        }