reload method

Future<void> reload(
  1. World world,
  2. String name,
  3. T value,
  4. Uint8List bytes,
)

Puts bytes, the file name's as it is now, into value, which was loaded from it (World.reloadAssets, on a hot reload): a sound whose file was changed plays the new sound. Only for a kind that reloads. What it throws is reported to World.errors, and value stays as it was.

Implementation

Future<void> reload(World world, String name, T value, Uint8List bytes) async {}