fire alarm done, but the button will restart it after initial pressing

This commit is contained in:
Timur Nizamov
2025-12-26 19:57:14 +02:00
parent 6a90182014
commit 23e453de77
43 changed files with 1623 additions and 197 deletions

View File

@@ -231,6 +231,12 @@ public class AudioManager : MonoBehaviour
RuntimeManager.StudioSystem.setParameterByName(parameterName, value);
}
public void GetGlobalParameter(string parameterName, out float value)
{
RuntimeManager.StudioSystem.getParameterByName(parameterName, out value);
}
//=====//
//Some functions for initialising music, perhaps there will be a need in the future...
//=====//

View File

@@ -187,6 +187,11 @@ public class FirstPersonOcclusion : MonoBehaviour
}
public bool HasInstance(EventInstance instance)
{
return managedInstances.Contains(instance);
}
private void SetParameter()
{
float occlusionValue = lineCastHitCount / 11;