79474181

Date: 2025-02-27 23:45:24
Score: 2
Natty:
Report link

If you are using only one AudioSource at a time, you should first reduce the number of AudioSource variables to just one and play your audio clips on that single AudioSource. I didn't fully understand your reason for muting all of them at the same time—could you explain that part a bit more?

Additionally, you might prefer storing your AudioClips in a list. This way, you can use loops within the list for muting and playing them.

This makes the code much harder to read—maybe you can find a way to improve its readability.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): could you explain
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: bmoglu