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