Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Computes whether or not this UniqueStyleString is identical to the other given UniqueStyleString.
Read time 1 minuteLast updated 13 days ago

Definition

Equals(UniqueStyleString)

Computes whether or not this UniqueStyleString is identical to the other given UniqueStyleString.
public bool Equals(UniqueStyleString other)

Parameters

The other UniqueStyleString compared for equality

Returns

Type

Description

boolTrue if both UniqueStyleStrings represent underlying string values that are equal

Equals(Object)

Computes whether or not this UniqueStyleString is identical another given object.
public override bool Equals(object obj)

Parameters

The object compared for equality

Returns

Type

Description

boolTrue if the compared object is a UniqueStyleString and both UniqueStyleStrings represent underlying string values that are equal.

Remarks

Additional Resources: UniqueStyleString.Equals