public void ShowRare()
 {
     if (this.Data != null)
     {
         GUIMonsterIcon.DispArousal(this.Data.monsterM.rare, this.goArousal, this.spArousal);
     }
     else
     {
         this.goArousal.SetActive(false);
     }
 }
Example #2
0
    public override void ShowGUI()
    {
        base.ShowGUI();
        this.SetThumbnailMonster(this.txCHAR, this.data, this.ReadTexByASync);
        GUIMonsterIcon.DispArousal(this.data.monsterM.rare, this.goArousal, this.spArousal);
        int growStep = int.Parse(this.data.monsterMG.growStep);

        GUIMonsterIcon.SetThumbnailFrame(this.spBASE, this.spFRAME, growStep);
        if (!this._gimmick && this.goGimmick != null)
        {
            this.goGimmick.SetActive(false);
        }
    }
Example #3
0
    public void SetMonsterIcon(string iconId, string arousal, string growStep)
    {
        base.ShowGUI();
        this.txCHAR.transform.gameObject.SetActive(true);
        string monsterIconPathByIconId = GUIMonsterIcon.GetMonsterIconPathByIconId(iconId);
        string resourcePath            = GUIMonsterIcon.InternalGetMonsterIconPathByIconId(iconId);

        GUIMonsterIcon.SetTextureMonsterParts(this.txCHAR, resourcePath, monsterIconPathByIconId, this.ReadTexByASync);
        GUIMonsterIcon.DispArousal(arousal, this.goArousal, this.spArousal);
        int growStep2 = int.Parse(growStep);

        GUIMonsterIcon.SetThumbnailFrame(this.spBASE, this.spFRAME, growStep2);
        if (!this._gimmick && this.goGimmick != null)
        {
            this.goGimmick.SetActive(false);
        }
    }