Behaviors

The Animation Library package includes several MonoBehaviours for animating objects in different ways. Add any of the following to a game object in your scene to get started:


AnimatedSprite

Animates a series of sprites over time.


AnimatedMaterialTiling

Animates the tiling property of a renderer's material.


BillboardRotation

Rotates the object so it is always facing the camera.


Blink

Switches a material on and off on an object at a variable rate.


FollowPath

Moves an object along a predefined path.


InputRotation

Rotates the transform based on user input.


LockPosition

Locks the position of the transform to a specified value.


LockRotation

Locks the rotation of the transform to a specified value.


LockScale

Locks the scale of the transform to a specified value.


LockTransform

Locks the transform properties to specified values.


LookAtMouse

Rotates the transform to look at the mouse.


MatchPosition

Matches the position of the transform to another transform.


MatchRotation

Matches the rotation of the transform to another transform.


MatchScale

Matches the scale of the transform to another transform.


MatchTransform

Matches the transform values to another transform.


Move

Moves an object in space by a given speed.


Orbit

Orbits an object around another object with a given speed and radius.


Rotate

Rotates an object in space by a given speed.


RotateAround

Rotates an object around a point by a given speed.


Scale

Scales an object over time by a given speed.


SmoothFollow

Moves toward the position of another transform using a smooth damping function.


SmoothLookAt

Rotates toward the position of another transform using a smooth damping function.