{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Operator operator == | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator operator ==

    operator ==(in ReadOnly, in FixedString32Bytes)

    Returns true if two strings are equal.

    Declaration
    public static bool operator ==(in NativeText.ReadOnly a, in FixedString32Bytes b)
    Parameters
    Type Name Description
    NativeText.ReadOnly a

    A string to compare.

    FixedString32Bytes b

    Another string to compare.

    Returns
    Type Description
    bool

    True if the two strings are equal.

    Remarks

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

    operator ==(in ReadOnly, in FixedString64Bytes)

    Returns true if two strings are equal.

    Declaration
    public static bool operator ==(in NativeText.ReadOnly a, in FixedString64Bytes b)
    Parameters
    Type Name Description
    NativeText.ReadOnly a

    A string to compare.

    FixedString64Bytes b

    Another string to compare.

    Returns
    Type Description
    bool

    True if the two strings are equal.

    Remarks

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

    operator ==(in ReadOnly, in FixedString128Bytes)

    Returns true if two strings are equal.

    Declaration
    public static bool operator ==(in NativeText.ReadOnly a, in FixedString128Bytes b)
    Parameters
    Type Name Description
    NativeText.ReadOnly a

    A string to compare.

    FixedString128Bytes b

    Another string to compare.

    Returns
    Type Description
    bool

    True if the two strings are equal.

    Remarks

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

    operator ==(in ReadOnly, in FixedString512Bytes)

    Returns true if two strings are equal.

    Declaration
    public static bool operator ==(in NativeText.ReadOnly a, in FixedString512Bytes b)
    Parameters
    Type Name Description
    NativeText.ReadOnly a

    A string to compare.

    FixedString512Bytes b

    Another string to compare.

    Returns
    Type Description
    bool

    True if the two strings are equal.

    Remarks

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

    operator ==(in ReadOnly, in FixedString4096Bytes)

    Returns true if two strings are equal.

    Declaration
    public static bool operator ==(in NativeText.ReadOnly a, in FixedString4096Bytes b)
    Parameters
    Type Name Description
    NativeText.ReadOnly a

    A string to compare.

    FixedString4096Bytes b

    Another string to compare.

    Returns
    Type Description
    bool

    True if the two strings are equal.

    Remarks

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

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)