URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/MeshPreview.OnPreviewGUI.html
taLayer-initialized', user: { user_unity_id: undefined, user_logged_in: 'no' }, environment: { environment_locale: 'en-us', environment_currency: undefined }});| Parameter | Description |
|---|---|
| rect | Rectangle in which to draw the preview. |
| background | The background style. |
Call this from an Editor.OnPreviewGUI or ObjectPreview.OnPreviewGUI to draw a mesh preview.