Ejemplo n.º 1
0
        public static ConfirmCostTipsView Open(GameResData costGameResData, string title, string content, System.Action clickCancelButtonDelegate, System.Action clickOKButtonDelegate, ConsumeTipType type = ConsumeTipType.None)
        {
            ConfirmCostTipsView view = Open(costGameResData, content, clickCancelButtonDelegate, clickOKButtonDelegate, type);

            view.titleText.text = title;
            return(view);
        }
Ejemplo n.º 2
0
        public static ConfirmCostTipsView Open(GameResData costGameResData, string content, System.Action clickCancelButtonDelegate, System.Action clickOKButtonDelegate, ConsumeTipType type = ConsumeTipType.None)
        {
            ConfirmCostTipsView confirmCostTipsView = UIMgr.instance.Open <ConfirmCostTipsView>(PREFAB_PATH, EUISortingLayer.Tips);

            confirmCostTipsView.SetInfo(costGameResData, content, clickCancelButtonDelegate, clickOKButtonDelegate, type);
            return(confirmCostTipsView);
        }