CreateTorus

Author: Jonathan Czeck (aarku)

Description
This editor script creates a pseudo-torus at the origin with parameters radius and thickness.

Usage
Place this script in YourProject/Assets/Editor and a menu item will automatically appear in the "GameObject/Create Other" menu after it is compiled.

Problems
These aren't true tori so they won't act totally correct. Also, there can be two overlapping spheres depending on the radius and thickness. You might want to choose values for radius or thickness to minimize this, or improve the script.