|
1 | 1 | # Animation Library
|
2 | 2 |
|
3 |
| -The Animation Library package contains assets and scripts for animating Unity objects. Included animation scripts are Blink, Move, Orbit, Rotate, Scale, SmoothFollow, SmoothLookAt, and more. The package also contains several animation data structures and humanoid avatar masks. |
| 3 | +The **Animation Library** package contains assets and scripts for animating Unity objects. Animation behaviors include Blink, FollowPath, Move, Orbit, Rotate, Scale, SmoothFollow, SmoothLookAt, and more. The package also contains several animation-related data structures and predefined avatar masks. |
| 4 | + |
| 5 | +## Installation |
| 6 | + |
| 7 | +Use the Unity [Package Manager](https://docs.unity3d.com/Manual/upm-ui.html) to install the **Animation Library** package. |
| 8 | + |
| 9 | +1. Open the Package Manager in `Window > Package Manager` |
| 10 | +2. Click the add (`+`) button in the status bar |
| 11 | +3. Select `Add package from git URL` from the add menu |
| 12 | +4. Enter the following Git URL in the text box and click Add: |
| 13 | + |
| 14 | +```https://github.com/zigurous/unity-animation-library.git``` |
| 15 | + |
| 16 | +For more information on the Package Manager and installing packages, see the following pages: |
| 17 | + |
| 18 | +- [Unity’s Package Manager](https://docs.unity3d.com/Manual/Packages.html) |
| 19 | +- [Installing from a Git URL](https://docs.unity3d.com/Manual/upm-ui-giturl.html) |
| 20 | + |
| 21 | +### Importing |
4 | 22 |
|
5 | 23 | Import the package namespace in each class/script you want to use it. You may need to regenerate project files/assemblies first.
|
6 | 24 |
|
7 | 25 | ```csharp
|
8 | 26 | using Zigurous.Animation;
|
9 | 27 | ```
|
10 | 28 |
|
11 |
| -## Installation |
| 29 | +## Index |
12 | 30 |
|
13 |
| -The Unity Package Manager can load a package from a Git repository on a remote server. |
| 31 | +### Behaviors |
14 | 32 |
|
15 |
| -To load a package from a Git URL: |
| 33 | +- [AnimatedSprite](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.AnimatedSprite.html) |
| 34 | +- [Blink](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Blink.html) |
| 35 | +- [FollowPath](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.FollowPath.html) |
| 36 | +- [Move](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Move.html) |
| 37 | +- [Orbit](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Orbit.html) |
| 38 | +- [Rotate](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Rotate.html) |
| 39 | +- [RotateAround](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.RotateAround.html) |
| 40 | +- [Scale](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Scale.html) |
| 41 | +- [SmoothFollow](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.SmoothFollow.html) |
| 42 | +- [SmoothLookAt](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.SmoothLookAt.html) |
16 | 43 |
|
17 |
| -1. Open the Package Manager window |
18 |
| -2. Click the add (`+`) button in the status bar |
19 |
| -3. Select **Add package from git URL** from the add menu |
20 |
| -4. Enter the following Git URL in the text box and click Add: |
21 |
| - `https://github.com/zigurous/unity-animation-library.git` |
| 44 | +### Data Structures |
| 45 | + |
| 46 | +- [AnimatorParameter](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.AnimatorParameter.html) |
| 47 | +- [Timing](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Timing.html) |
| 48 | +- [Timing01](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Timing01.html) |
| 49 | +- [TimingRange](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.TimingRange.html) |
| 50 | +- [TimingRange01](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.TimingRange01.html) |
| 51 | +- [Vector2AnimationCurve](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Vector2AnimationCurve.html) |
| 52 | +- [Vector3AnimationCurve](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Vector3AnimationCurve.html) |
| 53 | +- [Vector4AnimationCurve](https://docs.zigurous.com/com.zigurous.animation/api/Zigurous.Animation.Vector4AnimationCurve.html) |
0 commit comments