From 1861cf48527f56f9aaf4a61beaaffab5be8522d8 Mon Sep 17 00:00:00 2001 From: Chris Galvan Date: Thu, 19 Aug 2021 13:11:34 -0500 Subject: [PATCH] Allow Tag components to be added to UI elements. Signed-off-by: Chris Galvan --- Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp b/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp index 251f0203b4..fa98601a11 100644 --- a/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp +++ b/Gems/LmbrCentral/Code/Source/Scripting/EditorTagComponent.cpp @@ -33,6 +33,7 @@ namespace LmbrCentral editContext->Class("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")