From 618b7d12bbab4a96fc0b726ee72c9629a01d634f Mon Sep 17 00:00:00 2001 From: Gene Walters Date: Tue, 8 Jun 2021 23:58:07 -0700 Subject: [PATCH] Add parameter names to RPC behavior context so users know what each parameter does. Also added tooltip, although script canvas isnt always showing it (I will create a separate bug) --- .../Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja b/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja index 21bf6ab69b..1848341c60 100644 --- a/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja +++ b/Gems/Multiplayer/Code/Source/AutoGen/AutoComponent_Source.jinja @@ -392,7 +392,8 @@ void {{ ClassName }}::Signal{{ UpperFirst(Property.attrib['Name']) }}({{ ', '.jo } controller->{{ UpperFirst(Property.attrib['Name']) }}({{ ', '.join(paramNames) }}); - }) + }, { { { "Source", "The Source containing the {{ ClassName }}Controller" }{% for paramName in paramNames %}, {"{{ paramName }}"}{% endfor %}}}) + ->Attribute(AZ::Script::Attributes::ToolTip, "{{Property.attrib['Description']}}") {% endif %} {% endcall %} {% endmacro %}