- Home /
Question by
hexagonius · Oct 27, 2016 at 05:22 PM ·
stringdocumentationcustomeditorparameterusage
GUILayoutUtility GetRect with string parameter?
I just found the following script example on the Editor API Page:
GUILayoutUtility.GetRect (18, 18, "TextField");
The comment says
// Get a rect for the progress bar using the same margins as a textfield:
None of those method declarations provide a string version, nor is there any explanation on what else can be used. How is the parameter used?
Comment
Your answer
Follow this Question
Related Questions
Passing a Script Name to a Function 2 Answers
GUI set max amount of characters for Label 1 Answer
Decreasing Length of a String? 2 Answers