How do you draw 'position' gizmo in Editor?

I can see this page (http://unity3d.com/support/documentation/ScriptReference/Handles.html) where it says 'what to do' but, for example DrawCamera has some params I'm quite unsure about.

Does anyone know of any script examples that draw such things? I need to make a custom gizmo that does this (in the Editor). Thanks.

1 Answer

1

That page in the manual is misleading. You can just use the 'draw' functions there, no muss or fuss. Same like drawing icons. If drawing lines, set the Gizmos.color first.