Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

EventSystemEditor.OnPreviewGUI

public void OnPreviewGUI(Rect rect, GUIStyle background);

Parameters

rectRectangle in which to draw the preview.
backgroundBackground image.

Description

Custom preview for Image component.

Did you find this page useful? Please give it a rating: