SerializeGraphs() public method

public SerializeGraphs ( NavGraph _graphs ) : void
_graphs Pathfinding.NavGraph
return void
コード例 #1
0
ファイル: AstarData.cs プロジェクト: Marchys/fanalet
		/** 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 (AstarSerializer sr) {
			sr.SerializeGraphs(graphs);
			sr.SerializeUserConnections (userConnections);
			sr.SerializeNodes();
			sr.SerializeExtraInfo();
		}