# BaseAnimValue<T>

> Abstract base class for Animated Values.

## Definition

* **Type:** Class
* **Namespace:** [UnityEditor.AnimatedValues](/engine/6000.0/script-reference/unityeditor/animatedvalues.md)
* **Assembly:** UnityEditor
* **Implements:** [ISerializationCallbackReceiver](/engine/6000.0/script-reference/unityengine/iserializationcallbackreceiver.md)

```csharp
public abstract class BaseAnimValue<T> : ISerializationCallbackReceiver
```

## Remarks

Animated Values are an editor only concept for values that have a current value and a target. The value will tween towards the target at a given speed.

## Fields

| Value                                                                                                     | Description                           |
| --------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| [speed](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/speed.md)               | Speed of the tween.                   |
| [valueChanged](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/valuechanged.md) | Callback while the value is changing. |

## Properties

| Property                                                                                                | Description                       |
| ------------------------------------------------------------------------------------------------------- | --------------------------------- |
| [isAnimating](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/isanimating.md) | Is the value currently animating. |
| [target](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/target.md)           | Target to tween towards.          |
| [value](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/value.md)             | Current value of the animation.   |

## Methods

| Method                                                                                                        | Description                                                                                                 |
| ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [BeginAnimating](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/beginanimating.md) | Begin an animation moving from the start value to the target value.                                         |
| [GetValue](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/getvalue.md)             | Abstract function to be overridden in derived types. Should return the current value of the animated value. |
| [StopAnim](/engine/6000.0/script-reference/unityeditor/animatedvalues/baseanimvalue1/stopanim.md)             | Stop the animation and assign the given value.                                                              |
