Method GetScreenPos
GetScreenPos(Object, string, GUIStyle)
Reserve an on-screen rectangle for debugging output.
선언
public static Rect GetScreenPos(Object client, string text, GUIStyle style)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| Object | client | The client caller. This is used as a handle. |
| string | text | Sample text, for determining rectangle size |
| GUIStyle | style | What style will be used to draw, used here for determining rect size |
반환
| 타입 | 설명 |
|---|---|
| Rect | An area on the game screen large enough to print the text in the style indicated |