- Home /
Using same Animation to more things I want
I have doors and i made an animation on one of them. When i place more same doors and want to use one of them then the first where the animation was made are opening. Is there a way that with one animation more same Objects wich i want (like door) are opening?
Answer by hexagonius · Mar 24, 2018 at 10:43 PM
that's what prefabs are for and yes, an animation runs on one instance each. the question is how you trigger it.
I did it. The script schuld be at every door and not at the Player.
If your issue is solved, you should conclude by creating/marking an answer and closing the question
Answer by MadsWiering · Apr 01, 2018 at 10:41 AM
Cant you just add an animation controller + animation on the Prefab and play that through script? Else I would suggest to just make a small script to do the movement.