public void set_gift(int type, int val)
    {
        this.reward_Type = Reward_popop_type.Gift;

        this.item_Type = (Item_Type)type;

        this.type = type;

        img_main.sprite = item_sp[(int)item_Type];
        img_ads.sprite  = item_sp[(int)item_Type];

        this.val = val;

        txt_val.text     = "x" + val;
        txt_ads_val.text = "x" + val * 2;
    }
    public void set_Achive(int type)
    {
        this.reward_Type = Reward_popop_type.Achive;

        this.item_Type = Item_Type.coin;

        this.type = type;

        LocalData localData = AchiveData.GetInstance().Get(type);

        TAchive tAchive = Configs.TAchives[localData.key.ToString()];

        img_main.sprite = item_sp[(int)item_Type];
        img_ads.sprite  = item_sp[(int)item_Type];

        this.val = tAchive.Item;

        txt_val.text     = "x" + val;
        txt_ads_val.text = "x" + val * 2;
    }
    public void set_Task(int id)
    {
        item_sp = FindObjectOfType <MainScene>().itme_sp;

        this.reward_Type = Reward_popop_type.Task;

        this.item_Type = Item_Type.coin;

        this.type = id;

        LocalData data = TaskData.GetInstance().Get(this.type);

        TTask tTask = Configs.TTasks[data.key.ToString()];

        img_main.sprite = item_sp[(int)item_Type];
        img_ads.sprite  = item_sp[(int)item_Type];

        this.val = tTask.Item;

        txt_val.text     = "x" + val;
        txt_ads_val.text = "x" + val * 2;
    }