Examples
import { App } from '@wimaengine/app'
import { AssetAdded, AssetDropped, AssetModified, AssetPlugin, updateAssetEvents } from '@wimaengine/asset'
class Texture {}
const events = {
added: AssetAdded,
modified: AssetModified,
dropped: AssetDropped
}
const system = updateAssetEvents(Texture, events)
const app = new App()
app.registerPlugin(new AssetPlugin({ asset: Texture, events }))
// AssetPlugin creates an equivalent system and places it in
// AppSchedule.Update/CoreSystems.End.