示例#1
0
    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);
        }
    }
示例#2
0
    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
    }