You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To create system that can have optional read/writes depending on if the component is on the entity.
For example, the rendering system could use default Rotation if there is no Rotation component on the entity.
Requirements
There is a version for both Read and Write.
The system parameter will return an Option with the Some reference or None.
Reason
To create system that can have optional read/writes depending on if the component is on the entity.
For example, the rendering system could use default
Rotationif there is noRotationcomponent on the entity.Requirements
ReadandWrite.Optionwith theSomereference orNone.Dependencies