Constructor WeakObjectReference
WeakObjectReference(TObject)
Declaration
public WeakObjectReference(TObject unityObject)
Parameters
Type | Name | Description |
---|---|---|
TObject | unityObject |
WeakObjectReference(UntypedWeakReferenceId)
Weak reference to an object.
Declaration
public WeakObjectReference(UntypedWeakReferenceId id)
Parameters
Type | Name | Description |
---|---|---|
UntypedWeakReferenceId | id | The UntypedWeakReferenceId of the object. |