コード例 #1
0
 /** Serializes common info to the serializer.
  * Common info is what is shared between the editor serialization and the runtime serializer.
  * This is mostly everything except the graph inspectors which serialize some extra data in the editor
  */
 public void SerializeGraphsPart(Pathfinding.Serialization.AstarSerializer sr)
 {
     sr.SerializeGraphs(graphs);
     sr.SerializeUserConnections(userConnections);
     sr.SerializeNodes();
     sr.SerializeExtraInfo();
 }