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

AssetEntryEditorAttribute

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 an asset entry editor with the asset entry type it edits.

Apply this attribute to a class that implements IAssetEntryEditor to register it for a concrete asset entry type. The Resource Tables window discovers the editor through TypeCache, so a custom asset entry kind appears in the table editor with no manual registration. Register one editor per entry type; the editor for the nearest base type is used when no exact match exists.

Additional resources: IAssetEntryEditor, IAssetEntry

Properties

Property Description
EntryType The asset entry type this editor serves.

Constructors

Constructor Description
AssetEntryEditorAttribute Associates the editor with an asset entry type.