Answer the question
In order to leave comments, you need to log in
How to make prefab destruction with animation?
Suppose, for example, when a bullet hits a cube there, it increases slightly and then explodes, the increase is clear how to do it, then there should already be an explosion animation in its place, and here the question is - should it be another prefab or you can shove the explosion animation into itself prefab?
That is, so that there is a script attached to the prefab and it has a method that will cause the animation of the increase in the prefab and then the animation of the explosion itself, and the prefab itself (for example, the same cube) will no longer be visible ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question