Function NavmeshBase.SerializeExtraInfo

SerializeExtraInfo (GraphSerializationContext ctx)

Serializes Node Info.

Protected
void SerializeExtraInfo (

GraphSerializationContext

ctx

)

Serializes Node Info.

Should serialize:

  • Base

    • Node Flags

    • Node Penalties

    • Node

  • Node Positions (if applicable)

  • Any other information necessary to load the graph in-game All settings marked with json attributes (e.g JsonMember) have already been saved as graph settings and do not need to be handled here.

It is not necessary for this implementation to be forward or backwards compatible.