Navigation
API > API/Plugins > API/Plugins/StateGraph > API/Plugins/StateGraph/FStateGraphNode > API/Plugins/StateGraph/FStateGraphNode/Next
References
| Module | StateGraph |
| Header | /Engine/Plugins/Experimental/StateGraph/Source/StateGraph/Public/StateGraph.h |
| Include | #include "StateGraph.h" |
template<typename NodeType, typename... ArgsTypes>
TSharedPtr < NodeType, ESPMode::ThreadSafe > Next
(
ArgsTypes &&... Args
) const
Remarks
Helper function to create a new node, add it to this node's StateGraph, and add this node as a dependency. This allows for chaining nodes together such as:
StateGraph->CreateNode("NodeA", this, &SomeMemberFunction) ->Next("NodeB", &SomeStaticFunction) ->Next