Sprite Fade Alpha
Hi im trying to create a script that does the following:
When i click a Sprite a box appears fades in from alpha. After a couple seconds it fades away. Im really having problems writing this script.
Basically i have a sprite that i want it to spawn a box of information by its side when clicked. Imagine a tree, when you click it a box appears with information of its scientific name and other info.
Could anyone help me? Im trying to get it with C#.
Hi, I would use the Unity UI, with images and text components. I would parent those object to a CanvasGroup object and change it's alpha by script to change the alpha of all child objects.
Your answer
Follow this Question
Related Questions
My sprite disappears from the camera view after some time moving 5 Answers
How to make a smart main menu select system? 1 Answer
Confusion with sprites not showing in editor 0 Answers
How can i decrease lives? 0 Answers
Getting name of Spritesheet on runtime with C#? (Not individual SpriteName) 1 Answer