Optimized way to load animations

I am trying to load animations for my game. The process I have stuck to is whenever the player equips the tools associated with those animations, it will load them. However, when the player unnequips and equips it again, it will load twice. How could I load each animation only once when necessary, and possibly unload them, if possible, when not in use?

1 Like

loading it in script, not function

destorying it when unequips

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.