How can i track node enter event?
navys04 opened this issue · 1 comments
navys04 commented
How can i track node enter event?
I asking this, because you don't have documentation, or something like this, and its hard to find this in source files
BirdCatcherGames commented
What I recommend is to create a UTraversableGenericGraph decorator which wraps your UGenericGraph. The traversable decorator will keep track of which nodes or edges have been "entered" based off the state of your traversal, and I added some DYNAMIC_DELEGATEs which can bound to in BP's or C++. When you've entered the node in your Traversal decorator, simply call those delegates. Your traverser can also be serializable, which lets you avoid having to worry about any modifications you make to the UGenericGraph.