ドキュメント

Unity Engine

Unity Engine

DrawPreview(Rect)

This is the first entry point for Preview Drawing.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public void DrawPreview(Rect previewArea)

Parameters

previewArea

The available area to draw the preview.

Remarks

The default implementation will draw a grid of previews if there are multiple targets available. Override this method if you want to change this behaviour.