Build Grid Graph during runtime

I am using making a 2D tile-based game using text files and prefabs to build my world. How can I build the grid graph for this scenario? I need to get the dimensions of the world and so on which is only defined during runtime.

I’d appreciate any help or direction with this issue. Thanks.

Take a look at the procedural example, which is Example 12. It’s included with the free download. That should show you how to get started!

Alright, i’ll take a look at that. Thanks.

Hi

This thread might be of some help: Create a graph dynamically