Documentation

Unity Engine

Unity Engine

Equals

Compares this SecondarySpriteTexture object to another one.
Read time 1 minuteLast updated a month 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

boolReturns 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

boolReturns true if both object have the same name and texture.