public GetTextTexture ( string text ) : |
||
text | string | |
리턴 |
public Texture2D GetTexture(GUIFont font) { Texture2D texture = null; if(this.content.image != null) { texture = this.content.image as Texture2D; } else { texture = font.GetTextTexture(this.content.text, (int)this.bounds.width, (int)this.bounds.height); } return texture; }