pub fn init_resource<R: Resource + FromWorld>() -> impl Command
A Command that inserts a Resource into the world using a value created with the FromWorld trait.
Command
Resource
FromWorld