MojoTween: A Fast and Powerful Tween Animation Engine for Unity

MojoTween is a highly optimized Tween animation engine for Unity, coded with the latest technologies such as Burst, Jobs, Collections, and Mathematics. It provides a complete set of solutions for applying Tweens to all aspects of Unity objects, including Transform, RectTransform, Graphic, CanvasGroup, CanvasRenderer, SpriteRenderer, AudioSource, and Material. The engine also includes a rich set of features, such as ease functions, tween control methods, tween action control methods, and tween manager control methods. Additionally, it has a built-in editor extension for easy and quick extension of the Inspector and Window, and all Tweens runtime info can be visited through the Editor UI.

Ease Functions:

β€’ Supports fully standard EaseInOut effects.

β€’ Supports extra effects such as Smooth, ShakeXYZ, BezierQuadraticXYZ, and more.

β€’ Optimizes all functions based on Burst and Mathematics APIs.

β€’ Uses expression expansion whenever possible to optimize functions.

Animate Everything:

β€’ Transform: Move, Scale, Rotate, Shake Position/Scale/Rotation, Bezier Quadratic/Cubic Move.

β€’ RectTransform: Anchored, OffsetMax, OffsetMin, sizeDelta.

β€’ Graphic: Fade, Color, RGB.

β€’ CanvasGroup: Fade.

β€’ CanvasRenderer: Fade, Color, RGB.

β€’ SpriteRenderer: Fade, Color, RGB.

β€’ AudioSource: Volume.

β€’ Material: Float, Int, Vector, Color.

Tween Control Methods:

β€’ Supports queued and concurrent actions in one Tween with Append, AppendInterval, AppendCallback, and more.

β€’ Supports Tween Play, Rewind, Restart, GotoStart, Reverse, Stop, Pause, and more.

β€’ Supports rich Tween state test with IsPlaying, IsRewinding, IsPaused, IsStopped, IsCompleted, IsRecycled, and more.

β€’ Supports various Tween callback bindings with SetOnStart, SetOnComplete, SetOnStop, SetOnRecycle, and more.

β€’ Supports Tween default ease and relative settings.

β€’ Supports chained calls to set properties.

Tween Action Control Methods:

β€’ Supports ease action with Float, Vector2, Vector3, Vector4.

β€’ Supports independent callback with SetOnStart, SetOnComplete.

β€’ Supports ease and relative for each action value with SetRelativeAt, SetEaseAt.

β€’ Supports custom params with SetExtraParams.

β€’ Supports chained calls to set properties.

Tween Manager Control Methods:

β€’ Supports updating Tweens StopAll, RestartAll, ReverseAll, RewindAll, PauseAll, TogglePauseAll, RecycleAll, and more.

β€’ Supports native data release.

Performance & Cache:

β€’ All Tweens will be cached and reused, no need to manually manage the memory data.

β€’ All Tween actions have independent cache-reuse.

β€’ All values of all actions are cached by NativeList and used by Jobs.

β€’ All ease functions and action values settings are optimized with BurstCompile and Unsafe Code and Mathematics APIs.

Tween Runtime Info:

β€’ Integrates an Editor extension to easily and quickly extend the Inspector and Window.

β€’ All Tweens runtime info can be visited through the Editor UI.

Customize & Extend:

β€’ The engine code is highly cohesive and low coupling, with clear hierarchy and easy to expand.

β€’ Many engine public APIs are implemented based on the extension of the core code, so it is very natural and smooth to customize your own function extensions with the core code.

β€’ All engine extensions use C# (static this) Extension Methods, which makes it convenient and fast to use.

Supported OS:

β€’ In theory any platform that Unity supports.

MojoTween: A Fast and Powerful Tween Animation Engine for Unity - Asset Store

πŸ€– Chat with AI

AI is typing

Suggested Posts

RaTweening: A Powerful Tweening Engine for Unity

RaTweening: A Powerful Tweening Engine for Unity Thumbnail

Fast and Powerful Pathfinding for Unity

Fast and Powerful Pathfinding for Unity Thumbnail

Utility USS: Fast and Beautiful UIs for Unity

Utility USS: Fast and Beautiful UIs for Unity Thumbnail

E2Chart: A Powerful Charting Package for Unity

E2Chart: A Powerful Charting Package for Unity Thumbnail

Blocks Engine 2: A Visual Coding Platform for Unity

Blocks Engine 2: A Visual Coding Platform for Unity Thumbnail

AbleAnimator: Powerful Animation Package for Unity

AbleAnimator: Powerful Animation Package for Unity Thumbnail