Equals
Compares this SecondarySpriteTexture object to another one.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Equals(SecondarySpriteTexture)
Compares this SecondarySpriteTexture object to another one.
public bool Equals(SecondarySpriteTexture other)
Parameters
The other SecondarySpriteTexture object to be compared to.
Returns
Type | Description |
|---|---|
| bool | Returns true if both object have the same name and texture. |
Equals(Object)
Compares this SecondarySpriteTexture object to another one.
public override bool Equals(object obj)
Parameters
The other object to be compared to.
Returns
Type | Description |
|---|---|
| bool | Returns true if both object have the same name and texture. |