Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Checks if a given ToggleButtonGroupState matches with the current one.
Read time 1 minuteLast updated 10 days ago

Definition

Equals(ToggleButtonGroupState)

Checks if a given ToggleButtonGroupState matches with the current one.
public bool Equals(ToggleButtonGroupState other)

Parameters

A ToggleButtonGroupState to be compared against.

Returns

Type

Description

boolTrue if both option has the same data and number of options, otherwise returns false.

Equals(Object)

Compares the the current option set with an Object.
public override bool Equals(object obj)

Parameters

An object to be compared against.

Returns

Type

Description

boolTrue if both option sets are not the same, otherwise returns false.