I create a image in a button and I’m trying to access and enable the image component in Image. Is not working, I have no clue why. Need help:) Thank you
for (int i = 0; i < levelButton.Length; i++)
{
_levelImage[i]= levelButton[i].GetComponentInChildren<Image>();
_levelImage[i].enabled = true;
}