Updated GameLift names, improved Getter/Setter generation
Signed-off-by: lsemp3d <58790905+lsemp3d@users.noreply.github.com>
This commit is contained in:
@@ -922,6 +922,11 @@ namespace ScriptCanvasEditorTools
|
||||
|
||||
TranslateMethod(behaviorProperty->m_getter, method);
|
||||
|
||||
// We know this is a getter, so there will only be one parameter, we will use the method name as a best
|
||||
// guess for the argument name
|
||||
SplitCamelCase(cleanName);
|
||||
method.m_arguments[1].m_details.m_name = cleanName;
|
||||
|
||||
entry->m_methods.push_back(method);
|
||||
|
||||
}
|
||||
@@ -944,6 +949,11 @@ namespace ScriptCanvasEditorTools
|
||||
|
||||
TranslateMethod(behaviorProperty->m_setter, method);
|
||||
|
||||
// We know this is a setter, so there will only be one parameter, we will use the method name as a best
|
||||
// guess for the argument name
|
||||
SplitCamelCase(cleanName);
|
||||
method.m_arguments[1].m_details.m_name = cleanName;
|
||||
|
||||
entry->m_methods.push_back(method);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user