Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GenericBinding

Defines an animatable property on a Unity Component.
Read time 1 minuteLast updated 4 days ago

Definition

public readonly struct GenericBinding

Remarks

GenericBinding and BoundProperty are classes for animating properties on objects in a completely generic way.

Properties

Property

Description

customTypeIDThe internal ID for custom animation bindings.
isDiscreteThis property is true when the GenericBinding target is an animatable public integer.
isObjectReferenceThis property is True when this GenericBinding target is an animatable Unity object reference, such as a sprite.
isSerializeReferenceThis property is True when this GenericBinding target is a serialized reference property.
propertyNameHashHash ID that represents the name of the property.
scriptInstanceIDThe instance ID of the script.
transformPathHashHash ID that represents the transform path. Use this property to locate the component in the transform hierarchy.
typeIDThe Unity component type ID.