Пример #1
0
        public InLevelRechargeDialogContext(InLevelReviveDialogContext reviveContext)
        {
            ContextPattern pattern = new ContextPattern {
                contextName    = "InLevelRechargeDialogContext",
                viewPrefabPath = "UI/Menus/Dialog/InLevelShopDialog"
            };

            base.config         = pattern;
            this._reviveContext = reviveContext;
        }
        public InLevelReviveConfirmDialogContext(InLevelReviveDialogContext reviveContext, int hcoinCost, string avatarFullName)
        {
            ContextPattern pattern = new ContextPattern {
                contextName    = "InLevelReviveConfirmDialogContext",
                viewPrefabPath = "UI/Menus/Dialog/InLevelReviveConfirmDialog"
            };

            base.config          = pattern;
            this._reviveContext  = reviveContext;
            this._hcoinCost      = hcoinCost;
            this._avatarFullname = avatarFullName;
        }