bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Expose `SystemMeta`'s access field as part of public API

Open vil-mo opened this issue 1 year ago • 0 comments

Objective

Outside of the bevy_ecs crate it's hard to implement SystemParam trait on params that require access to the World, because init_state expects user to extend access in SystemMeta and access-related fields of SystemMeta are private.

Solution

Expose those fields as a functions

vil-mo avatar Dec 03 '24 11:12 vil-mo