Class UnityObjectOwnershipUtility
Namespace: Unity.VisualScripting
Syntax
public static class UnityObjectOwnershipUtility
Methods
CopyOwner(Object, Object)
Declaration
public static void CopyOwner(object source, object destination)
Parameters
Type | Name | Description |
---|---|---|
Object | source | |
Object | destination |
GetOwner(Object)
Declaration
public static Object GetOwner(object o)
Parameters
Type | Name | Description |
---|---|---|
Object | o |
Returns
Type | Description |
---|---|
Object |
RemoveOwner(Object)
Declaration
public static void RemoveOwner(object o)
Parameters
Type | Name | Description |
---|---|---|
Object | o |