some sound bug fixes
This commit is contained in:
@@ -28,6 +28,7 @@ public class CarDrivingRoutine : NetworkBehaviour
|
||||
|
||||
private EventInstance CarMovement;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
//Debug.LogError("AUDIO MANAGER:");
|
||||
@@ -39,6 +40,7 @@ public class CarDrivingRoutine : NetworkBehaviour
|
||||
CarMovement = AudioManager.Instance.CreateInstance(FMODEvents.Instance.BoltCarSimpleDriving); //initialising the variable
|
||||
CarMovement.setParameterByName("EasyBoltLogic", 0); //"Driving - 0 in FMOD"
|
||||
CarMovement.set3DAttributes(FMODUnity.RuntimeUtils.To3DAttributes(gameObject)); //setting 3d attributes
|
||||
|
||||
}
|
||||
private void Start()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user