文档

Unity Engine

Unity Engine

DrawPreview(Rect)

The first entry point for Preview Drawing.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public virtual 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.