Function AstarSerializer.DeserializeEditorSettingsCompatibility

DeserializeEditorSettingsCompatibility ()

Deserializes graph editor settings.

Private
void DeserializeEditorSettingsCompatibility ()

Deserializes graph editor settings.

For future compatibility this method does not assume that the graphEditors array matches the graphs array in order and/or count. It searches for a matching graph (matching if graphEditor.target == graph) for every graph editor. Multiple graph editors should not refer to the same graph.

Note

Stored in files named "graph#_editor.json" where # is the graph number.

This method is only used for compatibility, newer versions store everything in the graph.serializedEditorSettings field which is already serialized.