기술 자료

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.