In my game, I have a simple animation for when a coin is collected. My original problem was that the prefab animations would not link properly. But thanks to @mafiesto4, I discovered MapTrack. It seems to do exactly what I want it to. But I’m trying to get it to link at runtime for each of those prefabs. Currently, I have this in my OnReady function:
But it throws the following errors:
How could I fix this?