docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneObjectGuidManager

    Manages SceneObjectGuids.

    Inheritance
    Object
    SceneObjectGuidManager
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Tutorials.Core
    Syntax
    public class SceneObjectGuidManager

    Properties

    Instance

    Returns the singleton instance.

    Declaration
    public static SceneObjectGuidManager Instance { get; }
    Property Value
    Type Description
    SceneObjectGuidManager

    Methods

    Contains(String)

    Does the manager contain a Component for specific GUID.

    Declaration
    public bool Contains(string id)
    Parameters
    Type Name Description
    String id
    Returns
    Type Description
    Boolean

    GetComponent(String)

    Returns the GUID Component for a specific GUID, if found.

    Declaration
    public SceneObjectGuid GetComponent(string id)
    Parameters
    Type Name Description
    String id
    Returns
    Type Description
    SceneObjectGuid

    Register(SceneObjectGuid)

    Registers a GUID component.

    Declaration
    public void Register(SceneObjectGuid component)
    Parameters
    Type Name Description
    SceneObjectGuid component

    Unregister(SceneObjectGuid)

    Unregisters a GUID Component.

    Declaration
    public bool Unregister(SceneObjectGuid component)
    Parameters
    Type Name Description
    SceneObjectGuid component
    Returns
    Type Description
    Boolean

    True if the Component was found and unregistered, false otherwise.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023