// Token: 0x0600142A RID: 5162 RVA: 0x00092A04 File Offset: 0x00090C04 public bool FIFDHCJEMJG(BPLKJMJMHFI QKGJDCFCPMO) { if (QKGJDCFCPMO == null) { return(true); } if (!this.mIsValid) { if (string.IsNullOrEmpty(this.spriteName)) { return(true); } this.mSprite = ((!(QKGJDCFCPMO != null)) ? null : QKGJDCFCPMO.KPQNNOJJKDO(this.spriteName)); if (this.mSprite != null) { Texture jgmfilnpflh = QKGJDCFCPMO.JGMFILNPFLH; if (jgmfilnpflh == null) { this.mSprite = null; } else { this.mUV = new Rect((float)this.mSprite.x, (float)this.mSprite.y, (float)this.mSprite.width, (float)this.mSprite.height); this.mUV = JNNGOIIKENH.NFBOPKDICDF(this.mUV, jgmfilnpflh.width, jgmfilnpflh.height); this.mOffsetX = this.mSprite.paddingLeft; this.mOffsetY = this.mSprite.paddingTop; this.mWidth = this.mSprite.width; this.mHeight = this.mSprite.height; this.mAdvance = this.mSprite.width + (this.mSprite.paddingLeft + this.mSprite.paddingRight); this.mIsValid = false; } } } return(this.mSprite == null); }
// Token: 0x0600156F RID: 5487 RVA: 0x00099880 File Offset: 0x00097A80 public static Rect IQFQEOFBQKM(Rect QHFMJCLLHQL, int KJGMGPCEJJD, int DFKQMMIQDOO) { QHFMJCLLHQL = JNNGOIIKENH.JGKFJCNNBBE(QHFMJCLLHQL, KJGMGPCEJJD, DFKQMMIQDOO, true); QHFMJCLLHQL.xMin = (float)Mathf.RoundToInt(QHFMJCLLHQL.xMin); QHFMJCLLHQL.yMin = (float)Mathf.RoundToInt(QHFMJCLLHQL.yMin); QHFMJCLLHQL.xMax = (float)Mathf.RoundToInt(QHFMJCLLHQL.xMax); QHFMJCLLHQL.yMax = (float)Mathf.RoundToInt(QHFMJCLLHQL.yMax); return(JNNGOIIKENH.NFBOPKDICDF(QHFMJCLLHQL, KJGMGPCEJJD, DFKQMMIQDOO)); }
// Token: 0x06001DE2 RID: 7650 RVA: 0x000C59A8 File Offset: 0x000C3BA8 public void KOMOOQQGLML() { if (this.mAtlas == null) { return; } Texture jgmfilnpflh = this.mAtlas.JGMFILNPFLH; if (jgmfilnpflh != null) { this.mUVRect = new Rect((float)(this.LNMJLFLDCML.x - this.LNMJLFLDCML.paddingLeft), (float)(this.LNMJLFLDCML.y - this.LNMJLFLDCML.paddingTop), (float)(this.LNMJLFLDCML.width + this.LNMJLFLDCML.paddingLeft + this.LNMJLFLDCML.paddingRight), (float)(this.LNMJLFLDCML.height + this.LNMJLFLDCML.paddingTop + this.LNMJLFLDCML.paddingBottom)); this.mUVRect = JNNGOIIKENH.NFBOPKDICDF(this.mUVRect, jgmfilnpflh.width, jgmfilnpflh.height); if (this.LNMJLFLDCML.INHNGBPPJDF()) { this.MJOQDONBHDO(); } } }
// Token: 0x06001DC4 RID: 7620 RVA: 0x000C52A0 File Offset: 0x000C34A0 public void OMBHCPKNIDJ() { if (this.mAtlas == null) { return; } Texture jgmfilnpflh = this.mAtlas.JGMFILNPFLH; if (jgmfilnpflh != null) { this.mUVRect = new Rect((float)(this.LNMJLFLDCML.x - this.LNMJLFLDCML.paddingLeft), (float)(this.LNMJLFLDCML.y - this.LNMJLFLDCML.paddingTop), (float)(this.LNMJLFLDCML.width + this.LNMJLFLDCML.paddingLeft + this.LNMJLFLDCML.paddingRight), (float)(this.LNMJLFLDCML.height + this.LNMJLFLDCML.paddingTop + this.LNMJLFLDCML.paddingBottom)); this.mUVRect = JNNGOIIKENH.NFBOPKDICDF(this.mUVRect, jgmfilnpflh.width, jgmfilnpflh.height); if (this.LNMJLFLDCML.hasPadding) { this.PCNCNHMKBKL(); } } }