The Great ScriptCanvas Purge, Part IV
Signed-off-by: chcurran <82187351+carlitosan@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user