If I have two navmesh graph, how to define them!

@aron_granberg can you help me!

And how to get all navmesh graphs.

Hi

What do you mean by ‘define them’?

You can get all graphs from this array:

AstarPath.active.data.graphs;

May I rename the navmesh graph, and then through the name to get the specified graph?

@aron_granberg can you help me!

Yes, you can rename it using the small ‘pen’ icon next to the graph name.
You can get the graph using it’s name via

AstarPath.active.data.FindGraph(graph => graph.name == "My Graph Name"));