C# Class SharpNav.IO.Json.NavMeshJsonSerializer

Subclass of NavMeshSerializer that implements serialization/deserializtion in text files with json format
Inheritance: NavMeshSerializer
Mostra file Open project: Robmaister/SharpNav Class Usage Examples

Public Methods

Method Description
Deserialize ( string path ) : TiledNavMesh
NavMeshJsonSerializer ( )
Serialize ( string path, TiledNavMesh mesh ) : void

Private Methods

Method Description
DeserializeMeshTile ( JToken token, SharpNav.Pathfinding.NavPolyIdManager manager, NavPolyId &refId ) : NavTile
SerializeMeshTile ( NavTile tile, NavPolyId id ) : Newtonsoft.Json.Linq.JObject

Method Details

Deserialize() public method

public Deserialize ( string path ) : TiledNavMesh
path string
return TiledNavMesh

NavMeshJsonSerializer() public method

Serialize() public method

public Serialize ( string path, TiledNavMesh mesh ) : void
path string
mesh TiledNavMesh
return void