GetEntityStorageInfoLookup()
Manually gets an EntityStorageInfoLookup object that can access a EntityStorageInfo.
読み終わるまでの所要時間 1 分最終更新 13日前
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 GetEntityStorageInfoLookup as it will cache in OnCreate for you and call .Update(this) at the call-site.
Additional Resources: EntityStorageInfoLookup