engine icon indicating copy to clipboard operation
engine copied to clipboard

fix: the check of some transitions are missed

Open luzhuang opened this issue 4 months ago • 2 comments

Please check if the PR fulfills these requirements

  • [x] The commit message follows our guidelines
  • [ ] Tests for the changes have been added (for bug fixes / features)
  • [ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Other information:

Summary by CodeRabbit

  • New Features

    • Improved animation state transitions with fixed timing for better consistency.
    • Added new methods to calculate fixed start and end times for animation clips.
    • Enhanced management of transitions based on exit time properties.
  • Bug Fixes

    • Resolved inconsistencies in event timing during playback.
  • Refactor

    • Streamlined transition handling logic for clarity and efficiency.
    • Improved organization of transition management within the AnimatorStateTransitionCollection class.

luzhuang avatar Oct 10 '24 06:10 luzhuang