unity c# hide sprite code example Example: make sprite invisible unity gameObject.renderer.enabled= false;