Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


operator ==

Returns true if a FixedString512Bytes and another string are equal.
Read time 2 minutesLast updated 6 days ago

Definition

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

operator ==(FixedString512Bytes, FixedString32Bytes)

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

Parameters

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

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

Parameters

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

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

Parameters

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

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

Parameters

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

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

Parameters

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

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

Parameters

A FixedString512Bytes 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.