How do i add a reload icon for my guns?

So I’m making a game with guns (it’s 2D) and i made the basic stuff reload, ammo, but I decided i wanted a reload icon whenever I’m reloading. I tried setting an object active and inactive, but it doesn’t seem to work :confused:

Nvm i fixed it what i did is i pasted
if(iconAlive)
{
reloadIcon.SetActive(true);
}
else if(!iconAlive)
{
reloadIcon.SetActive(false);
}

over
if(isRealoading)
return;

Turns out it was stopping the whole process :slight_smile: