기술 자료

Unity Engine

Unity Engine

Equals

Compares this SecondarySpriteTexture object to another one.
읽는 시간 1분최근 업데이트: 한 달 전

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.