# GenericBinding

> Defines an animatable property on a Unity Component.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.Animations](/engine/6000.5/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public readonly struct GenericBinding
```

## Remarks

[GenericBinding](/engine/6000.5/script-reference/unityengine/animations/genericbinding.md) and [BoundProperty](/engine/6000.5/script-reference/unityengine/animations/boundproperty.md) are classes for animating properties on objects in a completely generic way.

See also [GenericBindingUtility](/engine/6000.5/script-reference/unityengine/animations/genericbindingutility.md).

## Properties

| Property                                                                                                              | Description                                                                                                       |
| --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| [customTypeID](/engine/6000.5/script-reference/unityengine/animations/genericbinding/customtypeid.md)                 | The internal ID for custom animation bindings.                                                                    |
| [isDiscrete](/engine/6000.5/script-reference/unityengine/animations/genericbinding/isdiscrete.md)                     | This property is true when the GenericBinding target is an animatable public integer.                             |
| [isObjectReference](/engine/6000.5/script-reference/unityengine/animations/genericbinding/isobjectreference.md)       | This property is True when this GenericBinding target is an animatable Unity object reference, such as a sprite.  |
| [isSerializeReference](/engine/6000.5/script-reference/unityengine/animations/genericbinding/isserializereference.md) | This property is True when this GenericBinding target is a serialized reference property.                         |
| [propertyNameHash](/engine/6000.5/script-reference/unityengine/animations/genericbinding/propertynamehash.md)         | Hash ID that represents the name of the property.                                                                 |
| [scriptEntityId](/engine/6000.5/script-reference/unityengine/animations/genericbinding/scriptentityid.md)             | The EntityId of the script.                                                                                       |
| [transformPathHash](/engine/6000.5/script-reference/unityengine/animations/genericbinding/transformpathhash.md)       | Hash ID that represents the transform path. Use this property to locate the component in the transform hierarchy. |
| [typeID](/engine/6000.5/script-reference/unityengine/animations/genericbinding/typeid.md)                             | The Unity component type ID.                                                                                      |
