Adding a Tab using the Custom Editor


I’ve searched through all the docs and cannot find how to add a tab using the custom editor.

Example: Something like the terrain’s tabs, but my script would have 3 tabs each for different categories such as slider controls, number inputs, then game objects.

How can I add this using the custom editor? I know how to program I’m just not sure where to find the examples or code in the reference docs.

If anyone could point me in the right direction it would be much appreciated.

For googlers around the world looking for this: