Hi,
That's no ideal.
Few tips:
-- You don't have 100's of coins framed with the camera, so optimize here and only animate coins that are visible to the camera. that's true for everything in big levels
-- user a proper tweening engine like dotween, don't use custom code for such thing.
-- use a Unity animation curve so that you don't even need any scripts at all to begin with... that's likely the most effective way.
You can have one fsm iterating through all coins and rotating them, that's possible yes, use "Iterate" action from the
Ecosystem and to find all coins, you can either maintain a list using ArrayMaker or if you have PlayMaker 1.8 use an FsmArray. Everytime you create and delete a coin, simply add or remove that entry in the Array.
Bye,
Jean