loadOverlay method

void loadOverlay()

Implementation

void loadOverlay() {
  var panelBuilder = gameRef.options.edgePanelBuilder;
  if (!hasPanel) return;

  gameRef.overlays.addEntry(overlayName, (_, game) {
    return panelBuilder!(edge, gameRef.camera.viewfinder);
  });
}