Documentation

Unity Engine

Unity Engine

Equals

Checks if this shader tag identifier and the object refer to the same string.
Read time 1 minuteLast updated 2 months ago

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
.