Function AstarData.FindGraphsOfType
FindGraphsOfType
(System.Type type)
Loop through this function to get all graphs of type 'type'.
Public
IEnumerable FindGraphsOfType (
System.Type | type |
Loop through this function to get all graphs of type 'type'.
foreach (GridGraph graph in AstarPath.data.FindGraphsOfType (typeof(GridGraph))) {
//Do something with the graph
}