docs.unity.cn
    Show / Hide Table of Contents

    Class GuidManager

    Class GuidManager.

    Inheritance
    Object
    GuidManager
    Namespace: UnityEngine.Industrial.Configuring.Staging
    Syntax
    public class GuidManager

    Methods

    Add(GuidComponent)

    Adds the specified unique identifier component.

    Declaration
    public static bool Add(GuidComponent guidComponent)
    Parameters
    Type Name Description
    GuidComponent guidComponent

    The unique identifier component.

    Returns
    Type Description
    Boolean

    true if XXXX, false otherwise.

    Remove(Guid)

    Removes the specified unique identifier.

    Declaration
    public static void Remove(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    The unique identifier.

    ResolveGuid(Guid)

    Resolves the unique identifier.

    Declaration
    public static GameObject ResolveGuid(Guid guid)
    Parameters
    Type Name Description
    Guid guid

    The unique identifier.

    Returns
    Type Description
    GameObject

    GameObject.

    ResolveGuid(Guid, Action)

    Resolves the unique identifier.

    Declaration
    public static GameObject ResolveGuid(Guid guid, Action onDestroyCallback)
    Parameters
    Type Name Description
    Guid guid

    The unique identifier.

    Action onDestroyCallback

    The on destroy callback.

    Returns
    Type Description
    GameObject

    GameObject.

    ResolveGuid(Guid, Action<GameObject>, Action)

    Resolves the unique identifier.

    Declaration
    public static GameObject ResolveGuid(Guid guid, Action<GameObject> onAddCallback, Action onRemoveCallback)
    Parameters
    Type Name Description
    Guid guid

    The unique identifier.

    Action<GameObject> onAddCallback

    The on add callback.

    Action onRemoveCallback

    The on remove callback.

    Returns
    Type Description
    GameObject

    GameObject.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 03 March 2021