Interface IProvidesGameObjectLocking | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    Show / Hide Table of Contents

    Interface IProvidesGameObjectLocking

    Provide access to grouping

    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IProvidesGameObjectLocking : IFunctionalityProvider

    Methods

    IsLocked(GameObject)

    Check whether a GameObject is locked

    Declaration
    bool IsLocked(GameObject go)
    Parameters
    Type Name Description
    GameObject go

    GameObject locked status to test

    Returns
    Type Description
    Boolean

    SetLocked(GameObject, Boolean)

    Set a GameObject's locked status

    Declaration
    void SetLocked(GameObject go, bool locked)
    Parameters
    Type Name Description
    GameObject go

    The GameObject to set locked or unlocked

    Boolean locked

    Locked or unlocked status

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX