GenericBinding
Defines an animatable property on a Unity Component.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public readonly struct GenericBinding
Remarks
GenericBinding and BoundProperty are classes for animating properties on objects in a completely generic way.
See also GenericBindingUtility.
Properties
Property | Description |
|---|---|
| customTypeID | The internal ID for custom animation bindings. |
| isDiscrete | This property is true when the GenericBinding target is an animatable public integer. |
| isObjectReference | This property is True when this GenericBinding target is an animatable Unity object reference, such as a sprite. |
| isSerializeReference | This property is True when this GenericBinding target is a serialized reference property. |
| propertyNameHash | Hash ID that represents the name of the property. |
| scriptInstanceID | The instance ID of the script. |
| transformPathHash | Hash ID that represents the transform path. Use this property to locate the component in the transform hierarchy. |
| typeID | The Unity component type ID. |