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
\$\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.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.