文档

Unity Engine

Unity Engine

operator ==

Returns true if a FixedString32Bytes and another string are equal.
阅读时间2 分钟最后更新于 17 天前

Definition

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

operator ==(FixedString32Bytes, FixedString32Bytes)

Returns true if a FixedString32Bytes and another string are equal.
public static bool operator ==(in FixedString32Bytes a, in FixedString32Bytes b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString32Bytes to compare for equality.

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 ==(FixedString32Bytes, FixedString64Bytes)

Returns true if a FixedString32Bytes and another string are equal.
public static bool operator ==(in FixedString32Bytes a, in FixedString64Bytes b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString64Bytes to compare for equality.

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 ==(FixedString32Bytes, FixedString128Bytes)

Returns true if a FixedString32Bytes and another string are equal.
public static bool operator ==(in FixedString32Bytes a, in FixedString128Bytes b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString128Bytes to compare for equality.

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 ==(FixedString32Bytes, FixedString512Bytes)

Returns true if a FixedString32Bytes and another string are equal.
public static bool operator ==(in FixedString32Bytes a, in FixedString512Bytes b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString512Bytes to compare for equality.

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 ==(FixedString32Bytes, FixedString4096Bytes)

Returns true if a FixedString32Bytes and another string are equal.
public static bool operator ==(in FixedString32Bytes a, in FixedString4096Bytes b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString4096Bytes to compare for equality.

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 ==(FixedString32Bytes, string)

Returns true if a FixedString32Bytes and another string are equal.
[ExcludeFromBurstCompatTesting("Takes managed string")]public static bool operator ==(in FixedString32Bytes a, string b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString32Bytes to compare for equality.

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 ==(string, FixedString32Bytes)

Returns true if a FixedString32Bytes and another string are equal.
[ExcludeFromBurstCompatTesting("Takes managed string")]public static bool operator ==(string a, in FixedString32Bytes b)

Parameters

A FixedString32Bytes to compare for equality.

A FixedString32Bytes to compare for equality.

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.