- Home /
Fading in and out gui text possible?
Hi, is it possible (Unity Pro) to fade in and out GUI text like the mission tittles on callof duty games how the mission tittle apears and dissapears?
Are you talking about Unity's new UI system or the old GUI (via OnGUI()) ? Either way, yes, it's possible. For the first case, use a Canas Group to change the alpha of all UI elements that are children of it (and itself). For the second case, create a GUI style on the fly and change it's font's color's alpha value. Both cases ideally make use of a CoRoutine.
Answer by FFVDGames · Feb 05, 2016 at 04:30 PM
You can make an animation that changes the color from opaque to transparent (just change the bottom bar on the color thingy to 0, then 255). Just make only one animation that way it'll loop without touching C# or JavaScript.
Your answer
Follow this Question
Related Questions
Finding center of a cube 1 Answer
what is Vector3.normalized? 1 Answer
one or several scripts - what's better? 1 Answer
C#, "object reference not set to an instance of an object" 3 Answers
This doesnt work,help? 1 Answer