eniklas / nachtmission

2.5D shooter made with Unity
Mozilla Public License 2.0
1 stars 1 forks source link

Tank engine is heard at game start #2

Closed eniklas closed 6 years ago

eniklas commented 6 years ago

In the build (but not in the editor), the tank engine is heard at the main menu until you start the game.

eniklas commented 6 years ago

A tank was sitting in front of the camera in the project. Even though the camera is immediately put in front of the chopper when the game starts, the game is also immediately paused to show the menu. The audio listener, which is a component of the camera, apparently was not moved yet until the game was unpaused. I don't really understand that, because the camera was moved. Pretty sure this will fix the issue, but won't know for sure until I do a new build.