Some fixes made, object picking logic added
This commit is contained in:
@@ -11,7 +11,6 @@ using STOP_MODE = FMOD.Studio.STOP_MODE;
|
||||
|
||||
public class AudioManager : MonoBehaviour
|
||||
{
|
||||
|
||||
//VCAs (VCA buses) are mainly used for volume control
|
||||
//Regular routing buses routing are for the remaining logic, for example, within the FMOD itself to put FMOD events inside the Mixer (Mixer Routing).
|
||||
//Regular routing buses are used when we make some attenuation based on parameters and write the logic in code for Unity.
|
||||
@@ -272,12 +271,6 @@ public class AudioManager : MonoBehaviour
|
||||
|
||||
}
|
||||
|
||||
public static bool IsPlaying()
|
||||
{
|
||||
musicEventInstance.getPlaybackState(out PLAYBACK_STATE state);
|
||||
return state != PLAYBACK_STATE.STOPPED;
|
||||
}
|
||||
|
||||
//=====//
|
||||
//=====//
|
||||
|
||||
|
||||
Reference in New Issue
Block a user