private void OnTriggerExit(UnityEngine.Collider other) { #if UNITY_EDITOR if (AkUtilities.IsMigrating || !UnityEditor.EditorApplication.isPlaying) { return; } #endif if (isEnvironmentAware && m_envData != null) { m_envData.RemoveAkEnvironment(other, m_Collider); } }
void OnTriggerExit(Collider other) { #if !DISABLE_AKSOUNDENGINE #if UNITY_EDITOR if (AkMigrating.IsMigrating || !UnityEditor.EditorApplication.isPlaying) { return; } #endif if (isEnvironmentAware && m_envData != null) { m_envData.RemoveAkEnvironment(other, m_Collider); } #endif }