Merge pull request #3331 from aws-lumberyard-dev/cgalvan/AllowTagComponentInUI
Allow Tag components to be added to UI elements.
This commit is contained in:
@@ -33,6 +33,7 @@ namespace LmbrCentral
|
||||
editContext->Class<EditorTagComponent>("Tag", "The Tag component allows you to apply one or more labels to an entity")
|
||||
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
||||
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("Game", 0x232b318c))
|
||||
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("UI", 0x27ff46b0))
|
||||
->Attribute(AZ::Edit::Attributes::Category, "Gameplay")
|
||||
->Attribute(AZ::Edit::Attributes::Icon, "Icons/Components/Tag.svg")
|
||||
->Attribute(AZ::Edit::Attributes::ViewportIcon, "Icons/Components/Viewport/Tag.svg")
|
||||
|
||||
Reference in New Issue
Block a user