com.unity.properties 0.6.0-preview

com.unity.properties

Notes: processedReleased July 19, 2019

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.1 (0b9)

Features

  • Added `[Property]` attribute which can be used on fields or C# properties. The attribute will force the reflection generator to include the member.
  • ### Upgrade guide
  • `PropertyBagResolver.RegisterProvider` has been removed and replaced with access to a static `ReflectedPropertyBagProvider`.
  • `Unity.Properties.Reflection` assembly has been removed and merged with `Unity.Properties`.

🔧 Bug Fixes

  • `TypeConverter` no longer warns if the source and destination types are the same.
  • TypeConversion of enum types will now convert based on the value and not the index.
  • PropertyContainer.Transfer now ensures destination type is a reference type when not passed by ref.
  • Fix generated properties for `List` incorrectly treating strings as container types.
  • `UnmanagedProperty` can now be generated for `char` types during reflection.