Struct ManagedEntityAccess

Public

Utility for efficient random access to managed entity component data from the main thread.

Warning

Some checks are not enforced by this API. It is the user's responsibility to ensure that this struct does not survive past an ECS system update. If you only use this struct from the main thread and only store it locally on the stack, this should not be a problem. This struct also does not enforce that you only read to the component data if the readOnly flag is set.

Public Methods

ManagedEntityAccess (readOnly)
Public
ManagedEntityAccess (entityManager, readOnly)
Public
Update (entityManager)
Public

Public Variables

entityManager
Public
handle
Public
readOnly
Public
this[EntityStorageInfo storage]
Public