I’ve tried searching for something like this, but I haven’t quite found what I’m looking for.
I want to use similar pathfinding settings in multiple scenes. I tried creating a prefab out of the AStar Path, but there’s a problem with that approach. Normally, with a prefab, fields that have been overridden show in bold in the inspector, and can be individually applied. However, with AStar Path, none of the field values show up as overridden. This means I can’t easily see which fields have overridden values, and therefore can’t be individually applied to the prefab. All I can do is apply all changes to the prefab.
Applying all changes seems bad, since (I assume) there are some values on the Path that should be scene specific, like the bounds of the graph.
Anyway, is it possible to make an AStar Path into a prefab, and use it in multiple scenes? Is there some way to get per-field overrides to show up in the inspector?
I also tried making a “preset” out of my object, but it doesn’t apply that AStar Path applies any values in the preset. So maybe that approach just doesn’t work.
I’d also be happy with an explanation of a good way to reuse a similar graph between multiple scenes, ideally such that if I decide my agent’s radius should be a bit different, I can change that in one place, not have to go into every scene and change it on every graph.