i want to make aura that fade smoothly when it got destroy()
Destroy() removes the object from existance. You cannot fade something that is gone.
1 Like
As stated when using Destroy() you can’t fade it. However, you could create a function that fades the sparkles and then when the transparency is 1, it destroys the object.
I think he is talking about something like
- A block is broken ( shatters )
- The shatters are slowly fading away and gets deleted… destroy()
or I just understood it wrongly
1 Like
You could tween the transparency. Then at the same time, when the script starts, put a wait line and set it to the same length of the tween, and then put Destroy().
We surely don’t know, until OP comes up with a bit more information