Summary

Creates a resource from a json definition

Properties

CacheToDisk If true then the generation will create a real resource and store it on disk. Use this if creating the resource takes a while, or you won't be shipping the generator with the game, or if it relies on data that won't be available in the shipped game.

Methods

Deserialize
GetHash Returns a hash to be used when loading/saving. We use this to determine if the resource has changed. By default we serialize the generator to a json string and return the CRC64 of that value. You can override this in your generator if you need to make it faster, or ignore some stuff.

Static Methods

Create
CreateResource
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.