Any way to tell with tagged areas seeker will be travelling?

Hello. I have scene divided by several areas (via GUS). Those areas are tagged. After calculating path I want to inform player their character will be entering dangerous zone (e.i. accordingly tagged area).

Is there any way to tell which areas will be route crossing?

Thanks

Hi

You can iterate through all nodes in the path like this

foreach (GraphNode node in path.path) {
    Debug.Log(node.Tag);
}