Integrating latest 47acbe8

This commit is contained in:
alexpete
2021-03-25 13:57:57 -07:00
parent 448c549698
commit 75dc720198
10312 changed files with 2711566 additions and 671451 deletions
@@ -19,19 +19,17 @@
#include <AzCore/Component/TickBus.h>
#include <AzCore/RTTI/BehaviorContext.h>
#include <ScriptCanvas/Libraries/Libraries.h>
namespace StartingPointInput
{
void InputNode::OnPostActivate()
{
if (GetExecutionType() == ScriptCanvas::ExecutionType::Runtime)
{
const ScriptCanvas::SlotId eventNameSlotId = InputNodeProperty::GetEventNameSlotId(this);
//if (GetExecutionType() == ScriptCanvas::ExecutionType::Runtime)
//{
// const ScriptCanvas::SlotId eventNameSlotId = InputNodeProperty::GetEventNameSlotId(this);
m_eventName = (*(FindDatum(eventNameSlotId)->GetAs<ScriptCanvas::Data::StringType>()));
InputEventNotificationBus::Handler::BusConnect(InputEventNotificationId(m_eventName.c_str()));
}
// m_eventName = (*(FindDatum(eventNameSlotId)->GetAs<ScriptCanvas::Data::StringType>()));
// InputEventNotificationBus::Handler::BusConnect(InputEventNotificationId(m_eventName.c_str()));
//}
}
void InputNode::OnDeactivate()
@@ -94,4 +92,4 @@ namespace StartingPointInput
}
SignalOutput(releasedSlotId);
}
} // namespace StartingPointInput
}