insert_resource

Function insert_resource 

Source
pub fn insert_resource<R: Resource>(resource: R) -> impl Command
Expand description

A Command that inserts a Resource into the world.