- Home /
Question by
Kofthefens · Jul 19, 2012 at 03:04 AM ·
guitextarea
How do I make a GUI text area fade in?
I have some code that looks like this:
string str = "Lots of text here";
GUI.TextArea(new Rect(125, 75, Screen.width - 250, Screen.height - 150), str);
I'd like to make the text slowly fade in. How?
(By the way, thanks in advance for the help. I'm new to Unity and this community seems really helpful)
Comment
Best Answer
Answer by Eric5h5 · Jul 19, 2012 at 03:48 AM
Change the alpha value in GUI.contentColor over time.