Method GetObjectValue
GetObjectValue<TObject>(UntypedWeakReferenceId)
For an object that is loaded, this will return the loaded value.
Declaration
[ExcludeFromBurstCompatTesting("References managed engine API and static data")]
public static TObject GetObjectValue<TObject>(UntypedWeakReferenceId objectId) where TObject : Object
Parameters
Type | Name | Description |
---|---|---|
UntypedWeakReferenceId | objectId | The object id. |
Returns
Type | Description |
---|---|
TObject | The reference to the object. |
Type Parameters
Name | Description |
---|---|
TObject | The type of object to access. |