I am currently working to setup region3s to properly play certain sounds when a player is within a certain area.
But the issue is that I don’t want to butcher my games performance, so how do regions3s cleanup? do they get removed if the script were to be destroyed or is there a proper way to remove them?
Region3s are just like any other datatype. When you create one and hold it in a variable, it lives until that variable goes out of scope (the function it was declared inside ends, or the script ends).
Note that parented instances live until destroyed or unparented, otherwise they’re cleaned up the same way.