UnityEditor.CustomPreviewAttribute.CustomPreviewAttribute C# (CSharp) Méthode

CustomPreviewAttribute() public méthode

Tells a DefaultPreview which class it's a preview for.

public CustomPreviewAttribute ( Type type ) : System
type System.Type The type you want to create a custom preview for.
Résultat System
        public CustomPreviewAttribute(Type type)
        {
            this.m_Type = type;
        }
    }
CustomPreviewAttribute