This version of Unity is unsupported.

EventSystemEditor.OnPreviewGUI

Declaration

public void OnPreviewGUI(Rect rect, GUIStyle background);

Parameters

rect Rectangle in which to draw the preview.
background Background image.

Description

Custom preview for Image component.