Пример #1
0
        private UIRevampSetting ShowUIRevampSetting(RevampContext revampContext)
        {
            RevampRecipeDetailModel detail = mRevampManager.GetDetail(revampContext.RevampRecipe.RecipeId, revampContext.GetBeforeSlotItemInfo().MemId);

            mRevampManager.IsValidRevamp(detail);
            UIRevampSetting component = Util.Instantiate(mPrefab_RevampSetting.gameObject, base.gameObject).GetComponent <UIRevampSetting>();

            component.SetOnRevampSettingActionCallBack(UIRevampSettingActionCallBack);
            component.Initialize(detail, UIRevampRecipeSettingCheckDelegate, mCameraProduction);
            return(component);
        }