Method Equals
Equals(EntityPrefabReference)
Checks if this reference holds the same asset GUID as the other reference.
Declaration
public bool Equals(EntityPrefabReference other)Parameters
| Type | Name | Description | 
|---|---|---|
| EntityPrefabReference | other | The other weak reference object to compare to. | 
Returns
| Type | Description | 
|---|---|
| bool | True if the asset GUID of both are equal. | 
Equals(object)
Overrides the default Object.Equals method.
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| object | obj | An object to compare for equality. | 
Returns
| Type | Description | 
|---|---|
| bool | True if this EntityPrefabReference and the object are equal. |