OptionalValue<T> class

Properties of type OptionalValue<T> (where T is a serializable type) are decorated with a property drawer that displays a toggle field before the regular property field.

This is meant to create optional or override values, which you can chose to use or not by cheking their Enabled state.