///@brief (DEPRECATED) This script is deprecated as of 2019.2. Early reflections, Diffraction and Room Reverb can all be enabled per sound in the Sound Property Editor of the Authoring.
/// @details Some functionalities were moved to different components. See the AkEarlyReflections and AkSpatialAudioDebugDraw components for more details.
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the early reflections auxiliary bus can be set per sound, in the Authoring tool, or per game object, with the AkEarlyReflections component.")]
/// (DEPRECATED) As of 2019.2, the early reflections auxiliary bus can be set per sound, in the Authoring tool, or per game object, with the AkEarlyReflections component.
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the Reflection Max Path Length is set by the sound's Attenuation Max Distance value in the Authoring tool.")]
/// (DEPRECATED) As of 2019.2, the Reflection Max Path Length is set by the sound's Attenuation Max Distance value in the Authoring tool.
publicfloatreflectionMaxPathLength=1000;
[UnityEngine.Range(0, 1)]
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the early reflections send volume can be set per sound, in the Authoring tool, or for all sunds playing on a game object, with the AkEarlyReflections component.")]
/// (DEPRECATED) As of 2019.2, the early reflections send volume can be set per sound, in the Authoring tool, or for all sunds playing on a game object, with the AkEarlyReflections component.
publicfloatreflectionsAuxBusGain=1;
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the Reflection Order is set in the Spatial Audio Initialization Settings.")]
/// (DEPRECATED) As of 2019.2, the Reflection Order is set in the Spatial Audio Initialization Settings.
publicuintreflectionsOrder=1;
[UnityEngine.Header("Rooms")]
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, the Room Reverb Aux Bus Gain is set by the Game-Defined Auxiliary Sends Volume in the Sound Property Editor in the Authoring tool.")]
/// (DEPRECATED) As of 2019.2, the Room Reverb Aux Bus Gain is set by the Game-Defined Auxiliary Sends Volume in the Sound Property Editor in the Authoring tool.
publicfloatroomReverbAuxBusGain=1;
[UnityEngine.Header("Geometric Diffraction")]
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.")]
/// (DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.
publicuintdiffractionMaxEdges=0;
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.")]
/// (DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.
publicuintdiffractionMaxPaths=0;
[UnityEngine.Tooltip("(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.")]
/// (DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool.
publicuintdiffractionMaxPathLength=0;
#ifUNITY_EDITOR
[UnityEngine.Header("Debug Draw")]
[UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
/// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
publicbooldrawFirstOrderReflections=false;
[UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
/// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
publicbooldrawSecondOrderReflections=false;
[UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
/// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
publicbooldrawHigherOrderReflections=false;
[UnityEngine.Tooltip("(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.")]
/// (DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component.
UnityEditor.EditorGUILayout.PropertyField(reflectAuxBus,newUnityEngine.GUIContent("Reflect Aux Bus","(DEPRECATED) As of 2019.2, the early reflections auxiliary bus can be set per sound, in the Authoring tool, or per game object, with the AkEarlyReflections component."));
UnityEditor.EditorGUILayout.PropertyField(reflectionMaxPathLength,newUnityEngine.GUIContent("Reflection Max Path Length","(DEPRECATED) As of 2019.2, the Reflection Max Path Length is set by the sound's Attenuation Max Distance value in the Authoring tool."));
UnityEditor.EditorGUILayout.PropertyField(reflectionsAuxBusGain,newUnityEngine.GUIContent("Reflections Aux Bus Gain","(DEPRECATED) As of 2019.2, the early reflections send volume can be set per sound, in the Authoring tool, or for all sunds playing on a game object, with the AkEarlyReflections component."));
UnityEditor.EditorGUILayout.PropertyField(reflectionsOrder,newUnityEngine.GUIContent("Reflections Order","(DEPRECATED) As of 2019.2, the Reflection Order is set in the Spatial Audio Initialization Settings."));
UnityEditor.EditorGUILayout.PropertyField(roomReverbAuxBusGain,newUnityEngine.GUIContent("Room Reverb Aux Bus Gain","(DEPRECATED) As of 2019.2, the Room Reverb Aux Bus Gain is set by the Game-Defined Auxiliary Sends Volume in the Sound Property Editor in the Authoring tool."));
UnityEditor.EditorGUILayout.PropertyField(diffractionMaxEdges,newUnityEngine.GUIContent("Diffraction Max Edges","(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool."));
UnityEditor.EditorGUILayout.PropertyField(diffractionMaxPaths,newUnityEngine.GUIContent("Diffraction Max Paths","(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool."));
UnityEditor.EditorGUILayout.PropertyField(diffractionMaxPathLength,newUnityEngine.GUIContent("Diffraction Max Path Length","(DEPRECATED) As of 2019.2, diffraction is enabled in the Sound Property Editor in the Authoring tool."));
UnityEditor.EditorGUILayout.PropertyField(drawFirstOrderReflections,newUnityEngine.GUIContent("Draw First Order Reflections","(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
UnityEditor.EditorGUILayout.PropertyField(drawSecondOrderReflections,newUnityEngine.GUIContent("Draw Second Order Reflections","(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
UnityEditor.EditorGUILayout.PropertyField(drawHigherOrderReflections,newUnityEngine.GUIContent("Draw Higher Order Reflections","(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));
UnityEditor.EditorGUILayout.PropertyField(drawDiffractionPaths,newUnityEngine.GUIContent("Draw Diffraction Paths","(DEPRECATED) Spatial Audio Debug Drawing were moved to the new AkSpatialAudioDebugDraw component."));