Method Equals
Equals(ComponentType)
Checks if this component type has the same TypeIndex as the other component type.
Declaration
public bool Equals(ComponentType other)
Parameters
Type | Name | Description |
---|---|---|
ComponentType | other | The other component type to compare to |
Returns
Type | Description |
---|---|
bool | True if the TypeIndex of both are equal |
Equals(object)
Checks to see if an object is equal to this component type.
Declaration
[ExcludeFromBurstCompatTesting("Takes managed object")]
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to check |
Returns
Type | Description |
---|---|
bool | True if the object is a ComponentType and the object equals this component type |