기술 자료

Unity Engine

Unity Engine

CustomPreviewAttribute(Type)

Tells a DefaultPreview which class it's a preview for.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Constructor
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public CustomPreviewAttribute(Type type)

Parameters

type

The type you want to create a custom preview for.

Remarks

When you make a custom preview, you need put this attribute on the preview class.