// Token: 0x0600018D RID: 397 RVA: 0x0000ECB8 File Offset: 0x0000CEB8 public void _drawString(mGraphics g, string st, int x0, int y0, int align) { y0 += mFont.yAddFont; GUIStyle guistyle = new GUIStyle(GUI.skin.label); guistyle.font = this.myFont; float num = 0f; float num2 = 0f; switch (align) { case 0: num = (float)x0; num2 = (float)y0; guistyle.alignment = TextAnchor.UpperLeft; break; case 1: num = (float)(x0 - GameCanvas.w); num2 = (float)y0; guistyle.alignment = TextAnchor.UpperRight; break; case 2: case 3: num = (float)(x0 - GameCanvas.w / 2); num2 = (float)y0; guistyle.alignment = TextAnchor.UpperCenter; break; } guistyle.normal.textColor = this.color1; g.drawString(st, (int)num, (int)num2, guistyle); }