public void FlushFashionUI(FashionDataSelete seleteType) { FashionUI fashionUI = UIManagerControl.Instance.GetUIIfExist("FashionUI") as FashionUI; if (fashionUI) { List <string> list = this.GetNewFashionDataIDs(seleteType); fashionUI.SetFashion(seleteType, this.GetDressingFashionID(seleteType), this.GetFixAllFashionDataList(seleteType, list), list); } }
protected void TryFlushFashionUI() { if (!UIManagerControl.Instance.IsOpen("FashionUI")) { return; } FashionUI fashionUI = UIManagerControl.Instance.GetUIIfExist("FashionUI") as FashionUI; if (fashionUI) { fashionUI.FlushData(this.dressingFashionData.Values, FashionPreviewCell.FashionPreviewCellType.Wardrobe, this.GetAllFashionAttr(), false); } }
public void OpenFashionUI(FashionDataSelete defaultSeleteType = FashionDataSelete.Clothes) { FashionUI fashionUI = UIManagerControl.Instance.OpenUI("FashionUI", UINodesManager.MiddleUIRoot, false, UIType.NonPush) as FashionUI; fashionUI.SetData(this.dressingFashionData.Values, FashionPreviewCell.FashionPreviewCellType.Wardrobe, this.GetAllFashionAttr(), true, defaultSeleteType); }