文档

Unity Engine

Unity Engine

operator ==(ShaderTagId, ShaderTagId)

Checks if two ShaderTagId s refer to the same string.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static bool operator ==(ShaderTagId tag1, ShaderTagId tag2)

Parameters

The first
ShaderTagId
to compare.

The second
ShaderTagId
to compare.

Returns

Type

Description

bool

Remarks

This is equivalent to calling ShaderTagId.Equals.