Class AstarSerializer
Handles low level serialization and deserialization of graph settings and data.
Mostly for internal use. You can use the methods in the AstarData class for higher level serialization and deserialization.
See
Public Methods
Deserializes graph editor settings.
Deserializes extra graph info.
Deserializes graph settings.
Calls PostDeserialization on all loaded graphs.
Serializes the graph settings to JSON and returns the data.
Public Static Methods
Load the specified data from the specified path.
Save the specified data at the specified path.
Public Static Variables
Cached version object for 3.8.3.
Cached version object for 3.9.0.
Cached version object for 4.1.0.
Cached version object for 4.3.12.
Cached version object for 4.3.2.
Cached version object for 4.3.37.
Cached version object for 4.3.6.
Cached version object for 4.3.68.
Cached version object for 4.3.74.
Cached version object for 4.3.80.
Cached version object for 4.3.83.
Private/Protected Members
Returns a version with all fields fully defined.
Returns a binary reader for the data in the zip entry.
Returns the data in the zip entry as a string.
Returns a cached StringBuilder.
Serializes info returned by NavGraph.SerializeExtraInfo.
Used to serialize references to other nodes e.g connections.
Serialize metadata about all graphs.
Cached StringBuilder to avoid excessive allocations.
Extension to use for binary files.
Checksum for the serialized data.
Root GameObject used for deserialization.
Index used for the graph in the file.
Extension to use for json files.
Graph metadata.
Settings for serialization.
Zip which the data is loaded from.
Memory stream with the zip data.
Deprecated Members
Deprecated method to serialize node data.