Version: Unity 6.7 Alpha (6000.7)
LanguageEnglish
  • C#

ResourceEntryDrawerAttribute

class in Unity.Localization.Editor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Associates a ResourceEntryDrawer with the entry type it renders.

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

Properties

Property Description
EntryType The entry type this drawer renders.

Constructors

Constructor Description
ResourceEntryDrawerAttribute Associates the drawer with an entry type.