3D Text Show/Hide

How would I go about showing/hiding a 3D Text Mesh? I thought I’d seen a post about it but after an hour of searching I came up unsuccessful. Any thoughts please? Thanks!

GetComponent(TextMesh).text.renderer.enabled =  true;

not sure if .renderer.enabled is correct,

Ray

simply renderer.enabled is all you need to set, just like any other mesh.

Alright, I wasn’t sure. Thanks for the help!