unity enable ui image code example Example: disable an image in unity image.enabled = true; image.enabled = false;