public void OnPreviewGUI (Rect r, GUIStyle background);

Parameters

r@param r Прямоугольник, в котором необходимо рисовать предпросмотр.
background@param background Фоновое изображение.

Description

Реализуйте, чтобы создать ваш собственный предпросмотр в области предпросмотра инспектора, основных заголовках редактора и при выборе объекта.

If you implement OnInteractivePreviewGUI then this will only be called for non-interactive custom previews. The overidden method should use the rectangle passed in and render a preview of the asset into it. The default implementation is a no-op.

See Also: OnInteractivePreviewGUI.