fire alarm done, but the button will restart it after initial pressing
This commit is contained in:
@@ -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...
|
||||
//=====//
|
||||
|
||||
@@ -187,6 +187,11 @@ public class FirstPersonOcclusion : MonoBehaviour
|
||||
}
|
||||
|
||||
|
||||
public bool HasInstance(EventInstance instance)
|
||||
{
|
||||
return managedInstances.Contains(instance);
|
||||
}
|
||||
|
||||
private void SetParameter()
|
||||
{
|
||||
float occlusionValue = lineCastHitCount / 11;
|
||||
|
||||
Reference in New Issue
Block a user