MojoTween is an amazing Tween animation Engine, highly optimized for C#
and Unity
, coded with the new technologies such as Burst
, Jobs
, Collections
, Mathematics
and more.
The engine provides a complete set of solutions for applying Tween to all aspects of Unity Objects
, as well as visualizing the running details of Tweens through the Editor UI
.
The implementation code is concise, clear and easy to understand, has detailed comments, uses #region
for organization, and easy to customize and extend.
The package has rich code samples and detailed usage docs.
- Supports fully standard
easeInOut
effects. - Supports extra effects such as
Smooth
,ShakeXYZ
,BezierQuadraticXYZ
,BezierCubicXYZ
and more. - Optimizes all functions based on
Burst
andMathematics
APIs. - Uses expression expansion whenever possible to optimize functions.
Transform
can perform Tween withMove
,Scale
,Rotate
,Shake Position / Scale / Rotation
,Bezier Quadratic / Cubic Move
.RectTransform
can perform Tween withAnchored
,OffsetMax
,OffsetMin
,sizeDelta
.Graphic
can perform Tween withFade
,Color
,RGB
.CanvasGroup
can perform Tween withFade
.SpriteRenderer
can perform Tween withFade
.AudioSource
can perform Tween withVolume
.Material
can perform Tween withFloat
,Int
,Vector
,Color
.
- Supports queued and concurrent actions in one Tween with
Append
,AppendInterval
,AppendCallback
,AppendIntervalCallback
,Add
,AddWithDelay
,AddDelayCallback
,AddAfterAppend
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.
- 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.
- Supports updating Tweens
StopAll
,RestartAll
,ReverseAll
,RewindAll
,PauseAll
,TogglePauseAll
,RecycleAll
and more. - Supports native data release.
- 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 byJobs
. - All ease functions and action values settings are optimized with
BurstCompile
andUnsafe Code
andMathematics
APIs.
- Integrates an Editor extension to easily and quickly extend the
Inspector
andWindow
. - All Tweens runtime info can be visited through the
Editor UI
.
- 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.
In theory any platform that Unity supports.
- Any bugs can go to [Issues] for feedback.
- Any questions or comments can go to [Discussions] for exchange.
You can purchase from the official [Unity Asset Store].