working build confirmed before tipilan, a few changes to ui and bow, order of audiomanager and fmodevents changed

This commit is contained in:
Timur Nizamov
2025-10-22 21:10:56 +03:00
parent 5623167eb9
commit f2475e6b06
33 changed files with 534 additions and 86 deletions

View File

@@ -30,6 +30,12 @@ public class CarDrivingRoutine : MonoBehaviour
private void Awake()
{
Debug.LogError("AUDIO MANAGER:");
Debug.LogError(AudioManager.Instance);
Debug.LogError("FMOD EVENTS INSTANCE:");
Debug.LogError(FMODEvents.Instance);
Debug.LogError("Car Simple Driving:");
Debug.LogError(FMODEvents.Instance.BoltCarSimpleDriving);
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