This PR shows the simple example working through dependency injection rather than hooks.
This is done by implementing the PresenterParam trait for Res which adds tracking on top of the exisiting SystemParam implementation.
The big cavaet here is SystemMeta::new is not public in bevy which requries me to do some really cursed stuff to construct it, but that should be a simple PR to expose. This is not feature complete in any sense it just shows the trait implementations required to setup dependency injection.
This PR shows the
simple
example working through dependency injection rather than hooks. This is done by implementing thePresenterParam
trait forRes
which adds tracking on top of the exisitingSystemParam
implementation.The big cavaet here is
SystemMeta::new
is not public in bevy which requries me to do some really cursed stuff to construct it, but that should be a simple PR to expose. This is not feature complete in any sense it just shows the trait implementations required to setup dependency injection.