Hello, I was wondering how you would make a script that has a visual interface such as the built in terrain script? Is it in the script or is there a GUI editor or something? Here is the picture

Hello, I was wondering how you would make a script that has a visual interface such as the built in terrain script? Is it in the script or is there a GUI editor or something? Here is the picture

Would this be for the editor (e.g. a custom inspector or window), or in-game?
thanks!