기술 자료

Unity Engine

Unity Engine

operator ==

Returns true if two strings are equal.
읽는 시간 2분최근 업데이트: 한 달 전

Definition

  • Type: Operator
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

operator ==(NativeText, FixedString32Bytes)

Returns true if two strings are equal.
public static bool operator ==(in NativeText a, in FixedString32Bytes b)

Parameters

A string to compare.

Another string to compare.

Returns

Type

Description

boolTrue if the two strings are equal.

Remarks

Two strings are equal if they have equal length and all their characters match.

operator ==(NativeText, FixedString64Bytes)

Returns true if two strings are equal.
public static bool operator ==(in NativeText a, in FixedString64Bytes b)

Parameters

A string to compare.

Another string to compare.

Returns

Type

Description

boolTrue if the two strings are equal.

Remarks

Two strings are equal if they have equal length and all their characters match.

operator ==(NativeText, FixedString128Bytes)

Returns true if two strings are equal.
public static bool operator ==(in NativeText a, in FixedString128Bytes b)

Parameters

A string to compare.

Another string to compare.

Returns

Type

Description

boolTrue if the two strings are equal.

Remarks

Two strings are equal if they have equal length and all their characters match.

operator ==(NativeText, FixedString512Bytes)

Returns true if two strings are equal.
public static bool operator ==(in NativeText a, in FixedString512Bytes b)

Parameters

A string to compare.

Another string to compare.

Returns

Type

Description

boolTrue if the two strings are equal.

Remarks

Two strings are equal if they have equal length and all their characters match.

operator ==(NativeText, FixedString4096Bytes)

Returns true if two strings are equal.
public static bool operator ==(in NativeText a, in FixedString4096Bytes b)

Parameters

A string to compare.

Another string to compare.

Returns

Type

Description

boolTrue if the two strings are equal.

Remarks

Two strings are equal if they have equal length and all their characters match.