GetEntityStorageInfoLookup()
Manually gets an EntityStorageInfoLookup object that can access a EntityStorageInfo.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public EntityStorageInfoLookup GetEntityStorageInfoLookup()
Returns
Type | Description |
|---|---|
| EntityStorageInfoLookup | An dictionary-like object that provides access to information about how Entities are stored, indexed by Entity. |
Remarks
Remember to call EntityStorageInfoLookup.Update.
Assign the returned object to a field of your Job struct so that you can access the contents in a Job.
Prefer using SystemAPI.GetEntityStorageInfoLookup as it will cache in OnCreate for you and call .Update(this) at the call-site.
Additional Resources: EntityStorageInfoLookup