Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2022.3.22f1 | Compatible | Compatible | Compatible |
With MotionKit, you can animate anything with C# scripting or with its inspector component MotionKitComponent. It animates Vector3, Vector2, float, Color, and Quaternion values. Its structure is quite simple, yet extremely powerful. You just need to choose and object and a property to animate, set an initial value, a final value, a duration, and that's all.
Additionally, you can apply an animation curve. Either a built-in one or a custom one that you create in the inspector. You can also set callbacks like OnStart, OnUpdate, OnInterrupt, and OnComplete, for things to happen accordingly.
There is no need for plugins. This is one of the biggest adavantages, as compared with DOTween. With a simple API, you can animate everything out of the box and it is very easy to learn.
You can read the complete documentation in the free version of the package, available in GitHub: https://github.com/cocodrilodog/tools-motion-kit
In addition to what is in the free version, this Pro version has support for Quaternion and fancy icons for the inspector component. Feel free to try it, and if you like it, please come back and support this Pro version.
COMPOSITION
You can combine Motion, Timer, Sequence, and Parallel objects to create composite animations, and you can nest animations without limits.
- Motion: Animates any property.
- Timer: Waits for a duration and then ends.
- Sequence: Plays the contained motions, timers, parallels and/or another sequences one after the other.
- Parallel: Plays the contained motions, timers, sequences and/or another parallels concurrently.
LIFE CYCLE
Motion, Timer, Sequence, and Parallel objects can be reused for optimal results with a very convenient API. For example, you can create a motion that animates the position of an object every time the player clicks the mouse button and moves the object to the clicked location.
Instead of creating a new Motion every time, you can reuse only one Motion object to carry out all the animations. This has a very convenient side effect: It will stop the current movement and start a new one towards the new destination point automatically. You wouldn't need to stop or destroy the current one. (Another big advantage over DOTween).
PLAYBACK
You can either play the Motion, Timer, Sequence or Parallel by calling Play() or you can instantiate the objects and then control their time via the Progress property.
INSPECTOR COMPONENT
With the MotionKitComponent you can create unlimited amount of Motion, Timer, Sequence and Parallel objects contained in only one MonoBehaviour that targets unlimited amount of animatable objects/properties and you can hook the events individually for each one.
The MotionKitComponent is one feature that excels in versatility and power, and it is designed to extend the realm of a tween-based engine into the hands of Technical Artists and Game Designers. Plus, this Pro version has really cool icons.
MotionKit - Pro
