Canvas visibility problem

    if(!_canvasesToSwipe[canvasNumber].isActiveAndEnabled)
    {
        _canvasesToSwipe[canvasNumber].enabled = true;
    }

Not changes it, what am I doing wrong?

What does the _canvasesToSwipe array contain? I think your problem is that it’s an array of canvases. You’re expecting the game object to become active but you activating the Canvas component instead. This should fix it

     if(!_canvasesToSwipe[canvasNumber].gameObject.activeSelf)
     {
         _canvasesToSwipe[canvasNumber].gameObject.SetActive(true);
     }