Version: 2023.1

BoundProperty

struct in UnityEngine.Animations

切换到手册

描述

A BoundProperty is a safe handle to read and write value in a generic way from any Unity components.

静态变量

NullAn empty BoundProperty object that does not refer to a property.

变量

indexThe index of this BoundProperty to the internal list of bound properties.
versionThe version of the BoundProperty.

公共函数

CompareToCompares this BoundProperty to a specific BoundProperty.
EqualsChecks if this BoundProperty equals a specified BoundProperty object.
GetHashCodeRetrieves a unique hash based on this BoundProperty.

运算符

operator !=BoundProperty objects are not equal if they refer to different properties.
operator ==BoundProperty objects are equal if they refer to the same property.