기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


OnPreviewGUI(Rect, GUIStyle)

Custom preview for Image component.
읽는 시간 1분최근 업데이트: 25일 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public override void OnPreviewGUI(Rect r, GUIStyle background)

Parameters

Rectangle in which to draw the preview.

background

Background image.

Remarks

Additional Resources: ObjectPreview.OnPreviewGUI.