Hello!
In my game the player explores large prefab level chunks, and when they move from chunk to chunk, the previous chunk is deactivated and the new chunk activated. I would like to be able to create a recast graph for each prefab chunk, save it in editor, then associate that saved graph with the prefab so it can be loaded at runtime if and when the player enters the chunk.
- Does that seem like an appropriate way to deal with the issue?
- How do you hold a reference to the pre-saved Byte array? I want to use
AstarPath.active.data.DeserializeGraphs(bytes);
but I have no idea how to give the prefab the reference?