Exemplo n.º 1
0
    private IEnumerator Init(Action <int> f, float sizeX, float sizeY, float aT)
    {
        GUICollider.DisableAllCollider("CMD_TitleSelect");
        RestrictionInput.StartLoad(RestrictionInput.LoadType.LARGE_IMAGE_MASK_ON);
        base.HideDLG();
        base.PartsTitle.SetTitle(StringMaster.GetString("EditUserTitle"));
        this.titleIcon.mainTexture = null;
        this.titleNameLbl.text     = string.Empty;
        this.titleName.text        = string.Empty;
        this.titleDetail.text      = string.Empty;
        this.equipBtnLbl.text      = StringMaster.GetString("EquipUserTitle");
        this.equipBtn.GetComponent <UISprite>().spriteName = "Common02_Btn_Gray";
        this.equipBtnLbl.color = ConstValue.DEACTIVE_BUTTON_LABEL;
        this.equipBtn.GetComponent <BoxCollider>().enabled = false;
        this.titleListOriginalItem.SetActive(true);
        GameWebAPI.RespDataMA_TitleMaster.TitleM[] titles = TitleDataMng.GetAvailableTitleM();
        this.CreateTitleList(this.titleList, titles.Length);
        this.SetTitleDetail(this.titleList, titles);
        this.titleListOriginalItem.SetActive(false);
        base.ShowDLG();
        base.Show(f, sizeX, sizeY, aT);
        RestrictionInput.EndLoad();
        yield return(null);

        yield break;
    }