Separate script for audio?

I know this topic is about animation, but I am starting to create audio to go with the animations. I’ve realized that the script I am making for just audio is basically the same as the animation script.

This is more of a “best practices” question, but does it make more sense to have two different scripts (audio and animation) or one script, where the commands are together?

The Single Responsibility Principle says that these should be separate scripts. That being said, it can often be practical to work them together.

1 Like

Privacy & Terms