Q on turning terrain off

Hi, I’m new to Unity and am learning. In my project I made a test terrain. Now I make a new terrain that I want to replace the test terrain. I want to be able to turn the test terrain on/off as I finish the new terrain.

When I go to the inspector, I see there’s a terrain script, but I have no access to the script itself? How do I get to the script? Where do I go so that I can add

“Terrain.enabled = false;”

or is there somewhere I can uncheck mesh renderer so it won’t render?

?? Definitely a newbie question. Thanks for your help.

just disable the script itself and it will stop rendering

Thanks for your help, dreamora. How do you disable the script? Because I can’t find the script to disable in the inspector for the terrain.

Usually in the inspector panel there’s the place for the script, then I can click on the script name in order to edit it. Maybe because this is the Unity terrain generator, so I don’t know where to look?? thanks for all your help.

Disable the entire game object by clicking on the little text box next to the terrain’s name in the inspector.