ドキュメント

Unity Engine

Unity Engine

Equals

Indicates whether the current PortReference is equal to another PortReference.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

Equals(PortReference)

Indicates whether the current PortReference is equal to another PortReference.
public bool Equals(PortReference other)

Parameters

The other PortReference to compare with the current instance.

Returns

Type

Description

boolReturns true when both references share the same PortReference.PortID and refer to the same PortReference.Context instance. Otherwise, returns false.

Equals(Object)

Indicates whether the current PortReference is equal to another object.
public override bool Equals(object obj)

Parameters

The object to compare with the current PortReference.

Returns

Type

Description

boolReturns true when
obj
is a PortReference equal to the current instance. Otherwise, returns false.