Version: 2022.1
LanguageEnglish
  • C#

ShortcutBinding.Equals

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public bool Equals(ShortcutManagement.ShortcutBinding other);

Parameters

other The ShortcutBinding to compare to this instance.

Returns

bool true if the value of the other parameter is the same as the value of this instance; otherwise, false.

Description

Determines whether this instance and another specified ShortcutBinding instance have the same value.


Declaration

public bool Equals(object obj);

Parameters

obj The ShortcutBinding to compare to this instance.

Returns

bool true if obj is a ShortcutBinding and its value is the same as this instance; otherwise, false. If obj is null, the method returns false.

Description

Determines whether this instance and a specified object, which must also be a [[ShortcutBinding}} object, have the same value.