One of the major changes is splitting current authorings to independent from each other monobehaviours which using modules to bake and author specific data. You can read more in Authoring section. This was made because new features which want to be included to baking process are hard to combine in regular class inheritance. While MonoBehaviours already are responsible for assigning data from inspector they should bake data and be flexible enough to be base class for arbitrary use. From now I recommend construct regular MonoBehaviour class and use authoring modules inside it as fields in any combination you want.
Size in authorings no longer contains final value. From now this value used as multiplier. So final size of a sprite (which is Scale2D component) calculated as `Sprite.GetSize() authoringTransformScale Size. This frees authoring class from maintain size value while user change sprite or do another actions which require size update.
Authorings no longer breaks Dependency Inversion principal and don't contain any unnecessary members for baking purposes.
All fields in authorings are now public.
Add bool IsValid() method to bunch of types to improve baking process.
Improve sorting layer assigning through inspector by using [SortingLayer] attribute.
MonoBehaviour
s already are responsible for assigning data from inspector they should bake data and be flexible enough to be base class for arbitrary use. From now I recommend construct regularMonoBehaviour
class and use authoring modules inside it as fields in any combination you want.Size
in authorings no longer contains final value. From now this value used as multiplier. So final size of a sprite (which isScale2D
component) calculated as `Sprite.GetSize() authoringTransformScale Size. This frees authoring class from maintain size value while user change sprite or do another actions which require size update.bool IsValid()
method to bunch of types to improve baking process.[SortingLayer]
attribute.