|
@@ -61,10 +61,12 @@ namespace ROS2
|
|
|
|
|
|
if (AZ::EditContext* ec = serialize->GetEditContext())
|
|
if (AZ::EditContext* ec = serialize->GetEditContext())
|
|
{
|
|
{
|
|
- ec->Class<ROS2RobotControlComponent>("ROS2 Robot control", "Customizable robot control component")
|
|
|
|
|
|
+ ec->Class<ROS2RobotControlComponent>("ROS2 Robot Control", "Customizable robot control component")
|
|
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
|
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
|
->Attribute(AZ::Edit::Attributes::Category, "ROS2")
|
|
->Attribute(AZ::Edit::Attributes::Category, "ROS2")
|
|
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("Game"))
|
|
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC_CE("Game"))
|
|
|
|
+ ->Attribute(AZ::Edit::Attributes::Icon, "Editor/Icons/Components/ROS2RobotControl.svg")
|
|
|
|
+ ->Attribute(AZ::Edit::Attributes::ViewportIcon, "Editor/Icons/Components/Viewport/ROS2RobotControl.svg")
|
|
->DataElement(
|
|
->DataElement(
|
|
AZ::Edit::UIHandlers::Default,
|
|
AZ::Edit::UIHandlers::Default,
|
|
&ROS2RobotControlComponent::m_controlConfiguration,
|
|
&ROS2RobotControlComponent::m_controlConfiguration,
|