Hi guys
I want to enable an image with this code, but it’s not working:
if (Input.GetKeyDown(KeyCode.Escape))
{
AbaPause.enabled = true;
}
I’ve declared it as public image “AbaPause” and it’s inside a canvas and its sprite texture is sprite (2d and UI). I don’t know what’s going on.