Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResourceEntryDrawerAttribute

Associates a ResourceEntryDrawer with the entry type it renders.
Read time 3 minutesLast updated 7 days ago

Definition

[AttributeUsage(AttributeTargets.Class)]public sealed class ResourceEntryDrawerAttribute : Attribute

Remarks

Apply this attribute to a ResourceEntryDrawer subclass to register it for a concrete IResourceEntry type. The Resource Tables window discovers the drawer through TypeCache, so a custom entry kind renders its value cell with no manual registration. The drawer for the nearest base type is used when no exact match exists.
Additional Resources: ResourceEntryDrawer, IResourceEntry

Constructors

Constructor

Description

ResourceEntryDrawerAttribute(System.Type)Associates the drawer with an entry type.

Properties

Property

Description

EntryTypeThe entry type this drawer renders.

Inheritance

Inherited Members