Update 3.3.0


- Added support for the Table of contents `toc` data from the json root

- Added support for the `EntityDefinition.doc` as tooltips in the entities section of the importer inspector

- Added support for the `LayerDefinition.doc` as a Doc field in the LDtkComponentLayer

- Point fields will now be represented by a child transform

  - This fixes the issue where points would always be positioned in world space instead of relative to the entity/level

  - The API is unchanged; It will still return a Vector2 from the fields component

- Entity reference fields now have an additional option to access it's layer, level and world; Breaking change mentioned below

- Fixed an issue where custom collider shapes for IntGrid value tiles would be scaled improperly if the sprite aspect was not the same as the textures

- Minor fix to samples

Breaking Changes:

- The Json schema classes are changing their field types from `double` to `float`, and `long` to `int`. Re-correct your code if necessary

  - This change is to help streamline using the fields so that casts are not required, but also to match the LDtk Json docs

- Because Point fields are being changed from Vector2s to Transforms, the serialized values are reset. This only impacts you if you set prefab overrides onto the point fields.

- The API for getting the neighbours from the LDtkComponentLevel has changed; Re-correct your code if necessary

- The API for getting entity references has changed; Re-correct your code if necessary

Files

LDtkUnity-3.3.0.unitypackage 417 kB
Mar 15, 2023

Get LDtk to Unity

Leave a comment

Log in with itch.io to leave a comment.