EZ Tween Setup Notes
EZ Tween Overview
EZ Tween is a Unity component that controls tween animations for game objects. It can manipulate position, scale, rotation, tint, and alpha. You can stack multiple tweens and use delays to sequence them.
Getting EZ Tween Setup
To use EZ Tween, select a GameObject, choose Add Component > EZ Tween. You can search for it if it isn’t visible initially. The component will control the objects in the scene you attach it to.
Prefab Choice and Reason
When starting a new setup, go to File > New and choose UI prefab (recommended 90% of the time). UI prefabs come with a Rect Transform, which provides pivot control for rotation. If you plan to use rotation, UI prefab is the preferred option.
Project Structure: Root and Organization
Create a root GameObject (named something like title root parent) that serves as the parent for all child objects. This is the hub for your project’s elements.
Adding Graphics
Under the root, add a child named Graphic One and attach a Graphic component. Assign an image asset (e.g., the ice house) to it. Add a second graphic as another child under the root (you can reuse a different image). This demonstrates multiple graphics under the same parent.
Creating Animations Group
Back under the root, create another child named Animations. Under Animations, add an Easy Tween object (name it after its purpose, e.g., easy tween on). You can also add a second object like easy tween off to represent different states.
Attaching EZ Tween and First Tween
Select the Easy Tween object, then Add Component > EZ Tween. In the Tweens section, add your first tween, choose its type, and set the parameters. Details on the parameters are covered in subsequent videos.
Next Steps
Future videos dive into specific tween types, parameter settings, and how to combine multiple tweens for complex animations.