Version: Unity 7.0 Alpha (7000.0)
LanguageEnglish
  • C#

ComponentType.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(ComponentType other);

Parameters

Parameter Description
other The other component type to compare to

Returns

bool True if the ComponentType.TypeIndex and ComponentType.AccessModeTypeof both are equal

Description

Checks if this component type has the same ComponentType.TypeIndex and ComponentType.AccessModeType as the other component type.


Declaration

public bool Equals(Object obj);

Parameters

Parameter Description
obj The object to check

Returns

bool True if the object is a ComponentType and the object equals this component type

Description

Checks to see if an object is equal to this component type.