Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

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

Definition

Equals(ConditionReference)

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

Parameters

The other ConditionReference to compare with the current instance.

Returns

Type

Description

booltrue if both references share the same ConditionReference.ConditionID and refer to the same ConditionReference.Context instance; otherwise, false.

Equals(Object)

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

Parameters

The object to compare with the current ConditionReference.

Returns

Type

Description

booltrue if
obj
is a ConditionReference equal to the current instance; otherwise, false.