The Great ScriptCanvas Purge, Part IV

Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
chcurran
2021-07-06 13:13:16 -07:00
parent fa7accf2dc
commit 360236b89e
173 changed files with 131 additions and 6154 deletions
@@ -69,23 +69,6 @@ namespace ScriptCanvasTests
return GetTestNode<t_NodeType>(scriptCanvasId, entityOut);
}
ScriptCanvas::Node* CreateDataNodeByType(const ScriptCanvas::ScriptCanvasId& scriptCanvasId, const ScriptCanvas::Data::Type& type, AZ::EntityId& nodeIDout);
template<typename t_Value>
ScriptCanvas::Node* CreateDataNode(const ScriptCanvas::ScriptCanvasId& scriptCanvasId, const t_Value& value, AZ::EntityId& nodeIDout)
{
using namespace ScriptCanvas;
const Data::Type operandType = Data::FromAZType(azrtti_typeid<t_Value>());
Node* node = CreateDataNodeByType(scriptCanvasId, operandType, nodeIDout);
EXPECT_NE(node, nullptr);
if (node)
{
node->SetInput_UNIT_TEST("Set", value);
}
return node;
}
template<typename t_Value>
ScriptCanvas::VariableId CreateVariable(ScriptCanvas::ScriptCanvasId scriptCanvasId, const t_Value& value, AZStd::string_view variableName)
{