文档

Unity Engine

Unity Engine

Equals

Checks if this BoundProperty equals a specified BoundProperty object.
阅读时间1 分钟最后更新于 1 个月前

Definition

Equals(Object)

Checks if this BoundProperty equals a specified BoundProperty object.
public override bool Equals(object compare)

Parameters

compare

The BoundProperty object to compare.

Returns

Type

Description

boolReturns True if the Index and Version of this BoundProperty matches the specified BoundProperty object. Returns False otherwise.

Equals(BoundProperty)

Checks if this BoundProperty instance equals a specified BoundProperty instance.
public bool Equals(BoundProperty boundProperty)

Parameters

boundProperty

The BoundProperty instance to compare.

Returns

Type

Description

boolReturns True if the Index and Version of this BoundProperty instance matches the specified BoundProperty instance. Returns False otherwise.