コード例 #1
0
    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);
        }
    }
コード例 #2
0
    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);
        }
    }
コード例 #3
0
    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);
    }