SetPointer<T>(ref BlobPtr<T>, ref T)
Sets a BlobPtr to point to the given object inside the blob.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
SetPointer<T>(BlobPtr<T>, T)
public ref T SetPointer<T>(ref BlobPtr<T> ptr, ref T obj) where T : struct
Parameters
A reference to a blob pointer field in a blob asset.
Returns
Type | Description |
|---|---|
| T | A reference to obj. |