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 |