Version: 2017.1

Editor.OnPreviewSettings

Cambiar al Manual
public void OnPreviewSettings ();

Descripción

Anule este método si desea mostrar controles personalizados en el encabezado de la vista previa.

La implementación predeterminada es un no-op.

Note: Inspector previews are limited to the primary editor of persistent objects (assets), e.g., GameObjectInspector, MaterialEditor, TextureInspector. This means that it is currently not possible for a component to have its own inspector preview.