Giving up on unity serialization, switching to MiniJSON.
Deleted redundencies and rearranged folder structure.
Started basic manual json serialisation.
Patterns now converted to json via generic dictionaries in editor.
Copied dictionary packing and unpacking to CellPattern base class.
Editor now calls dictionary packing on each pattern. SingleTypePattern overrides CellPattern to extend packing and unpacking.
Extended packing and unpacking on other CellPattern subclasses.
CellPatterns now convert Int64 to Int32 when unpacking. Started load mechanism in Editor. Possibly not unpacking correctly.
Had missed adding unpacked patterns to list.
Editor can now instantiate other pattern types.
Added protection against abstract class instantiation.
Moved default pattern parameters into class definitions.
Moved serialisation into save() and removed logging spam.
Editor now lists patterns and loads a corresponding inspector on selection. It loads the default if none can be found.
Pattern inspector now only reinstantiates if the selection's type is different.
Corrected float unboxing in SinePattern unpacking.
Editor now checks deserialized json's represented class before unpacking.
CellPattern now stores it's origin as 2 ints as struct aren't serializable. It's accessible as a struct via the origin property.
Inspector gui is now called via a method that handles property updates.
title no longer stored as metadata. Editor warns of overwriting.