Method SetLocked
SetLocked(IUsesGameObjectLocking, GameObject, bool)
Set a GameObject's locked status
Declaration
public static void SetLocked(this IUsesGameObjectLocking user, GameObject go, bool locked)
Parameters
Type | Name | Description |
---|---|---|
IUsesGameObjectLocking | user | The functionality user |
GameObject | go | The GameObject to set locked or unlocked |
bool | locked | Locked or unlocked status |