Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Indicates whether the current NodeReference is equal to another NodeReference.
Read time 1 minuteLast updated 13 days ago

Definition

Equals(NodeReference)

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

Parameters

The other NodeReference to compare with the current instance.

Returns

Type

Description

booltrue if both references share the same NodeReference.NodeID and refer to the same NodeReference.Context instance. Otherwise, false.

Equals(Object)

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

Parameters

The object to compare with the current NodeReference.

Returns

Type

Description

booltrue if
obj
is a NodeReference equal to the current instance. Otherwise, false.