SaintsEditor supports some types that usually can not be serialized. To use this function:
- Ensure the type is supported by this functionality
- Add
[SaintsSerialized]for these fields or properties. Does not matter if the field is public/private etc. - 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.