Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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