Exemple #1
0
    private void OnDisable()
    {
        FmodEvent.Stop(_instance, FMOD.Studio.STOP_MODE.ALLOWFADEOUT);

        if (positionClamperRoutine != null)
        {
            StopCoroutine(positionClamperRoutine);
        }
    }
 public void Stop()
 {
     FmodEvent.Stop(musicInstance, FMOD.Studio.STOP_MODE.ALLOWFADEOUT);
 }