Skip to content

Releases: GabrielBigardi/Unity-2D-Sprite-Animator

v2.0.3

04 Jul 18:12
4a86180
Compare
Choose a tag to compare

Added

  • Readded assembly definition for package importing with .git url

Fixed

  • Problem with animation duration being wrongly calculated, causing problems in the OnAnimationCompleted event.

v2.0.2

09 Jun 20:13
2a0c1c5
Compare
Choose a tag to compare

Fixed

  • Problem with animation preview stretching/mis-positioning sprites.

v2.0.1

04 May 21:00
Compare
Choose a tag to compare

Fixed

  • Null Reference error due to a try to load an checkered texture on Resources folder that was not previously included in the Sprite Animator.

v2.0.0

21 Mar 19:54
Compare
Choose a tag to compare

Added

  • "Editor Coroutines" package is needed for the preview window to work properly.
  • Custom editor made from scratch for a better project structure and window docking support, you can now have all object animations in a single Scriptable Object called "Sprite Animation Object".
  • Sheet Generation, now you can drag a prepared (pre-cut on Unity's Sprite Editor) Texture2D to a field and auto-generate the animation, no more dragging 20 sprites one by one.

Fixed

  • The event that runs when a animation completes now works properly both with "Looping" and "Play Once" animations.

Changed

  • Reworked SpriteAnimator from scratch for better code.
  • "Play Once" animations will still loop in the preview for better visualization.
  • "Play" methods now returns a SpriteAnimator, this allows use of "Fluent Interfaces".

Removed

  • Assembly Definitions, i never liked it and should remove some compatibility problems.
  • Events that probably would never be used by anyone.
  • Scripts with low amount of code like "SpriteAnimationFrame.cs", "SpriteAnimationHelper.cs", "SpriteAnimationList.cs", "SpriteAnimationState.cs", "SpriteAnimationType.cs".
  • Previous Editor scripts as it was remade from scratch.
  • "Paper Doll Animator", due to not being properly tested on any project.