It looks like you're new here. If you want to get involved, click one of these buttons!
(FYI: im following Brackeys tutorial on how to make a 2d shooting Game and i am using Instantiate)
I am planning to make an enormous scene, and I ran into a problem wherein, whenever the player shoots too many "raycasts" the impact effect animation is saved in the scene/hierarchy which can cause the game to lose too many frames. Can you help me such that the animation of the 'impact' gets removed after some time. check the Image for more info: