1. When the sound is played, if it is 2d sound, it can really sound very large, and full screen is the same, no space attenuation concept, but if it is 3d sound, there will be space concept, but the voice is too small
CNM, annoying, a music so sore
Look at the code, if it is 3d sound, the default is put into the Vector3.zero, changed the code, changed to the location of the skill release, but feel small. I want two ways, that is, the current camera has the focus of the time to activate the sound, or the way the vector, the current position along the axis of the screen, and then move forward or backward, the problem, a vector is known, how to move him along an axis or some direction, You can't just ask for a unit vector at the compute multiplier.
Find a way, or the background music sounds a little bit smaller
The final method is to turn the background music down and then turn the sound volume to 1.
2. Suddenly think of a problem, if let the class directly inherit Monobehavior, then this class want to initialize must hang on the empty object, this is not very good
Should be a common class, just a base class hanging on an empty object, all the things that need to inherit mono initialization, inherit this script
2015-01-19