Gameobject shown as GUI

Hi, what is the best way to show a GameObject as a GUI? I would like a GameObject up in a corner spinning around. What’s the best way to do that?

Best way I found is to create a second camera, called GUI Camera.
Then set the camera clear flags to “Depth Only”, and set the camera Culling Mask to GUI. Set the depth to 1.
In the main camera, set the culling mask to everything except GUI. Set the main Camera’s depth to 0 (this way the GUI camera will draw over the main camera).

Now you have a camera that will only display elements with the layer “GUI”, and the main camera which will display all other elements. The GUI stuff will always appear above the other stuff.

Keep the GUI camera static, and place any objects you want to display as GUI in the view area of that camera, and make their layer “GUI”. Their location will remain constant regardless of how you move the main camera.