void InitFormulaList() { _loopList.InitData(GetFormulaModel()); FormulaChooseElement element = (FormulaChooseElement)_loopList.ElementList[_loopList.ElementList.Count - 1]; element.Select(true); }
bool RefreshContent() { var partInfoList = PlayerManager.Instance.GetAssemblePartInfoByTypeID(currentSelcetTab); if (partInfoList.Count == 0) { noInfoTrans.SafeSetActive(true); if (noInfoAnim != null) { noInfoAnim.Play(); } } else { noInfoTrans.SafeSetActive(false); var dataModelList = PlayerManager.Instance.playerData.assemblePartData.GetAssemblePartChooseModel(currentSelcetTab); _loopList.InitData(dataModelList, new List <object>() { dialogShowType, configID }); } return(true); }