updatePrefix static method

void updatePrefix(
  1. String prefix
)

Updates the prefix in the global AudioCache and bgm instances.

Implementation

static void updatePrefix(String prefix) {
  audioCache.prefix = prefix;
  bgm.audioPlayer.audioCache.prefix = prefix;
}