x


Preview Window in Editor

Hey guys,

I have recently dived into custom editor scripting... What I would like to know is, what is the code for the preview window? (The window that is displayed in the inspector when you select a FBX model, prefab)

I can't find anything in relation to this...is there a work around? I saw a previous post on this, but no correct answer was given..

Thanks in advance Etienne Cowley

more ▼

asked Aug 28 '12 at 07:07 PM

Annihilator gravatar image

Annihilator
18 1 2 4

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Don't know if you've found a solution yet, but take a look at http://docs.unity3d.com/Documentation/ScriptReference/AssetPreview.GetAssetPreview.html

It seems limited in its uses to me, since it only yields a 128x128 texture, but it's a start.

more ▼

answered Apr 26 at 10:08 PM

papabooish gravatar image

papabooish
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5076
x1673
x31

asked: Aug 28 '12 at 07:07 PM

Seen: 300 times

Last Updated: Apr 26 at 10:08 PM