SetPointer<T>(ref BlobPtr<T>, ref T)
Sets a BlobPtr to point to the given object inside the blob.
阅读时间1 分钟最后更新于 19 天前
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. |