/// <summary>
    /// Update is called every frame, if the MonoBehaviour is enabled.
    /// </summary>
    void Update()
    {
        fadeController.CheckIfCanvasGroupInteractable(islandUICanvasGroup);

        //TODO: possible change, not an amazing solution
        if (WorldController.Instance.currentIsland != null && !player.anchorDropped)
        {
            interactText.text = "Press E to drop anchor";
            interactText.DOFade(1, 0.5f);
        }
        else
        {
            interactText.DOFade(0, 0.5f);
        }
        //TODO: try to find a better solution than just calling this in update constantly
        fadeController.FadeCanvasGroup(fadingInIslandUI, islandUICanvasGroup, false);

        fadeController.FadeCanvasGroup(fadingInPanel, panelCanvasGroup, false, scene);
    }
 private void Update()
 {
     if (Input.GetMouseButtonDown(1))
     {
         DeactivatePanel();
         if (battleController.Attacking)
         {
             Pathfinding.DeselectNodes(battleController.Nodes);
             battleController.Attacking = false;
         }
     }
     //TODO: use DOTween for this
     if (!fadeOut)
     {
         fadeController.FadeCanvasGroup(fadeOut, panel, false);
     }
     else
     {
         fadeController.FadeCanvasGroup(fadeOut, panel, true, "World");
     }
 }