public void SwitchPack(LocalizationPack newPack) { if (!Packs.Contains(newPack)) { Debug.LogError($"ORLL: Localizer: Specified pack \"{newPack.Name}\" is not loaded on current localizer instance."); return; } var old = CurrentPack; if (old == newPack) { return; } CurrentPack = newPack; old.SwitchPack(newPack); Debug.Log($"ORLL: Localizer: \"{newPack.Name}\" was set as default pack."); }