docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Operator implicit operator

    implicit operator Hash128(GUID)

    Implicitly convert a UnityEditor.GUID to a Hash128.

    Declaration
    public static implicit operator Hash128(GUID guid)
    Parameters
    Type Name Description
    GUID guid

    The UnityEditor.GUID to convert.

    Returns
    Type Description
    Hash128

    The corresponding Hash128.

    implicit operator GUID(Hash128)

    Implicitly convert a Hash128 to a UnityEditor.GUID.

    Declaration
    public static implicit operator GUID(Hash128 guid)
    Parameters
    Type Name Description
    Hash128 guid

    The Hash128 to convert.

    Returns
    Type Description
    GUID

    The corresponding UnityEditor.GUID.

    implicit operator Hash128(Hash128)

    Implicitly convert a UnityEngine.Hash128 to a Hash128.

    Declaration
    public static implicit operator Hash128(Hash128 guid)
    Parameters
    Type Name Description
    Hash128 guid

    The UnityEngine.Hash128 to convert.

    Returns
    Type Description
    Hash128

    The corresponding Hash128.

    implicit operator Hash128(Hash128)

    Implicitly convert a Hash128 to a UnityEngine.Hash128.

    Declaration
    public static implicit operator Hash128(Hash128 guid)
    Parameters
    Type Name Description
    Hash128 guid

    The Hash128 to convert.

    Returns
    Type Description
    Hash128

    The corresponding UnityEngine.Hash128.

    In This Article
    Back to top
    Copyright © 2024 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)