Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DrawPreview(Rect)

The first entry point for Preview Drawing.
Read time 1 minuteLast updated 18 days ago

Definition

public override void DrawPreview(Rect previewArea)

Parameters

previewArea

The available area to draw the preview.

Remarks

Draws a grid of previews if there are multiple targets available. Override this method if you want to customize this behaviour.