Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Returns true if the half is bitwise equivalent to a given half, false otherwise.
Read time 1 minuteLast updated 11 days ago

Definition

Equals(half)

Returns true if the half is bitwise equivalent to a given half, false otherwise.
public bool Equals(half rhs)

Parameters

rhs

Right hand side half value to use in comparison.

Returns

Type

Description

boolTrue if the half value is bitwise equivalent to the input, false otherwise.

Equals(Object)

Returns true if the half is equal to a given half, false otherwise.
public override bool Equals(object o)

Parameters

Right hand side object to use in comparison.

Returns

Type

Description

boolTrue if the object is of type half and is bitwise equivalent, false otherwise.