Hide
Extended Serialization

SaintsEditor supports some types that usually can not be serialized. To use this function:

  1. Ensure the type is supported by this functionality
  2. Add [SaintsSerialized] for these fields or properties. Does not matter if the field is public/private etc.
  3. ensure the containing class/struct (and its containing parent classes/structs) of these fields/properties is marked with keyword partial

If a field is not supported, the default serialization provided by Unity will be used.

The optional Assets/Editor Default Resources/SaintsField/Config.SaintsConstSourceGenerator.additionalfile accepts debug = 0 or debug = 1. Debug defaults to 0 when the file does not exist.