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