文档

Unity Engine

Unity Engine

Equals

Checks if this shader tag identifier and the object refer to the same string.
阅读时间1 分钟最后更新于 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
.