ドキュメント

Unity Engine


User Manual

Script Reference

Unity Engine


IsSame(string)

Compares this UniqueStyleString to a given string for equality.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public bool IsSame(string s)

Parameters

The string with which to compare for equality.

Returns

Type

Description

boolTrue if this UniqueStyleString represents an underlying string value that is equal to the provided string.

Remarks

This method uses a lightweight operation that avoids creating intermediary data and can be faster than converting the provided string to a UniqueStyleString.