4
\$\begingroup\$

I'm wondering if its possible to add an object viewer (For example when you import an .fbx file into unity you can see a small preview of it in the inspector) to a Unity Editor Window? I've looked through the docs and didn't seem to be able to find anything for this

Thanks,

Lewis

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

It isn't exactly what you're looking for, but the way I've solved this in the past is to dynamically create a camera in the editor and have it do a render to texture that I display in the editor window itself using something like GUILayout.Box with the RenderTexture in it.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .