public override void Display() { base.Display(); LanguageDropdown.onValueChanged.RemoveAllListeners(); LanguageDropdown.value = LanguageManager.Instance.LanguagesShorts.IndexOf(LanguageManager.Instance.GetCurrentLanguage()); LanguageDropdown.onValueChanged.AddListener(LanguageManager.Instance.LanguageDropdownChange); LanguageDropdown.onValueChanged.AddListener(OnLanguageChange); OnLanguageChange(0); CardSelectPanel.Initialize(Editor_CardSelectModes.SelectCount, true, true, SelectCard, UnSelectCard, AddCardToCardPriorityComboList, SelectOneForEachActiveCards, UnSelectAllActiveCards, Row_CardSelection); }
public override void Display() { base.Display(); CardSelectPanel.Initialize(Editor_CardSelectModes.UpperLimit, false, false, SelectCard, UnSelectCard, new UnityAction <CardBase>(delegate { }), SelectOneForEachActiveCards, UnSelectAllActiveCards, Row_CardSelection); CardSelectPanel.gameObject.SetActive(false); ChapterMapContainer.gameObject.SetActive(true); LanguageDropdown.onValueChanged.RemoveAllListeners(); LanguageDropdown.onValueChanged.AddListener(LanguageManager.Instance.LanguageDropdownChange); LanguageDropdown.onValueChanged.AddListener(OnLanguageChange); LanguageDropdown.value = LanguageManager.Instance.LanguagesShorts.IndexOf(LanguageManager.Instance.GetCurrentLanguage()); LanguageDropdown.onValueChanged.Invoke(LanguageDropdown.value); AudioManager.Instance.BGMLoopInList(new List <string> { "bgm/EditorBGM" }); }