Constructor WeakObjectReference
WeakObjectReference(TObject)
Declaration
public WeakObjectReference(TObject unityObject)
Parameters
| Type | Name | Description | 
|---|---|---|
| TObject | unityObject | 
WeakObjectReference(UntypedWeakReferenceId)
Construct a WeakObjectReference with an existing WeakObjectReference id id.
Declaration
public WeakObjectReference(UntypedWeakReferenceId id)
Parameters
| Type | Name | Description | 
|---|---|---|
| UntypedWeakReferenceId | id | Existing id for some weakly referenced data.  |