Generating GridGraph Runtime for Endless Runner Game

Hi. I’m working on endless runner game and I want to create gridgraph every time when a new prefab(floor) spawns in front of player and player start moving on it.
What steps do i need to follow to make player walk on that new prefab(floor).


Take a look at the example scene called “Procedural” which might be suitable for your use case.