기술 자료

Unity Engine

Unity Engine

Equals

Checks if this shader tag identifier and the object refer to the same string.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Equals(Object)

Checks if this shader tag identifier and the object refer to the same string.
public override bool Equals(object obj)

Parameters

The object to compare.

Returns

Type

Description

boolReturns
true
if the shader tag identifier and the object refer to the same string. Otherwise, returns
false
.

Equals(ShaderTagId)

Checks if this shader tag identifier and the object refer to the same string.
public bool Equals(ShaderTagId other)

Parameters

The
ShaderTagId
to compare.

Returns

Type

Description

boolReturns
true
if the shader tag identifier and the object refer to the same string. Otherwise, returns
false
.