// Token: 0x060021BE RID: 8638 RVA: 0x0009209C File Offset: 0x0009029C private static void ArenaMissionControllerOnOnInstanceChangedGlobal() { bool flag = ArenaMissionController.instance; if (ArenaInfoPanel.subscribedToHudTargetChanged != flag) { if (!ArenaInfoPanel.subscribedToHudTargetChanged) { HUD.onHudTargetChangedGlobal += ArenaInfoPanel.OnHudTargetChangedGlobal; } else { HUD.onHudTargetChangedGlobal -= ArenaInfoPanel.OnHudTargetChangedGlobal; } ArenaInfoPanel.subscribedToHudTargetChanged = !ArenaInfoPanel.subscribedToHudTargetChanged; for (int i = 0; i < HUD.readOnlyInstanceList.Count; i++) { ArenaInfoPanel.SetHudDisplayingArenaInfoPanel(HUD.readOnlyInstanceList[i], flag); } } }
// Token: 0x060021BF RID: 8639 RVA: 0x0009211C File Offset: 0x0009031C private static void OnHudTargetChangedGlobal(HUD hud) { bool shouldDisplay = ArenaMissionController.instance; ArenaInfoPanel.SetHudDisplayingArenaInfoPanel(hud, shouldDisplay); }