Method CreateFromObjectInstance
CreateFromObjectInstance(Object)
Get a weak reference from a Unity object reference.
Declaration
public static UntypedWeakReferenceId CreateFromObjectInstance(Object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to reference. |
Returns
Type | Description |
---|---|
UntypedWeakReferenceId | The ide if the reference. |