pub unsafe fn dynamically_load_plugin<P>( path: P ) -> Result<(Library, Box<dyn Plugin, Global>), DynamicPluginLoadError>where P: AsRef<OsStr>,
Dynamically links a plugin at the given path. The plugin must export a function with the
CreatePlugin signature named
The specified plugin must be linked against the exact same libbevy.so as this program.
In addition the
_bevy_create_plugin symbol must not be manually created, but instead created
DynamicPlugin on a unit struct implementing