GitHub - yjlintw/Tweenie at blog-day5
In our previous discussion on Day 3, we noted that while most of the Tweener controls (such as stop, play, and pause) were handled in the Tweenie class, the StopAfterStepComplete method was being handled in the Tweener class itself. To ensure consistency in the codebase, we have refactored the control logic by moving it to the Tweenie class.
The refactor involves the following changes:
Tweener class to keep track of its current state.Tweener step is completed, the Tweenie class checks if the Tweener needs to be stopped or paused based on the status flag. This allows for handling these actions through the same route as the regular Tweener Stop() or Pause() events.By centralizing the loop control logic in the Tweenie class, we achieve greater consistency and maintainability within the codebase.
I'm pleased to provide you with the initial version of our API documentation for Tweenie. The documentation is automatically generated using DocFx and Github Workflow, ensuring a streamlined publishing process.
You can access the API documentation here: API Documentation.
Please note that the website is still a work in progress, and we plan to expand it further in the future. Our upcoming additions will include tutorials, additional information, and more resources to help you get the most out of Tweenie.
Not in any particular order
AnimationCurve to allow different ease in / out animationTweener objects to avoid garbage collection (?)