private void Awake() { this.TypePullDown.OnSelectionChangeDelegate = new ScrollablePulldownBase.SelectItemEvent(this.OnTypeItemSelect); this.ElemmentPullDown.OnSelectionChangeDelegate = new Pulldown.SelectItemEvent(this.OnElemmentItemSelect); if (GlobalVars.RecommendTeamSettingValue != null) { this.currentTypeIndex = PartyUtility.RecommendTypeToComparatorOrder(GlobalVars.RecommendTeamSettingValue.recommendedType); this.currentElemmentIndex = (int)GlobalVars.RecommendTeamSettingValue.recommendedElement; } else { this.currentTypeIndex = 0; this.currentElemmentIndex = 0; } this.Refresh(); }