public bool IsSame(UnityEngine.GameObject listener, uint id)
    {
        var listener_id = AkSoundEngine.GetAkGameObjectID(listener);

        AkSoundEngine.PreGameObjectAPICall(listener, listener_id);

        {
            bool ret = AkSoundEnginePINVOKE.CSharp_AkAuxSendValueProxy_IsSame(swigCPtr, listener_id, id);

            return(ret);
        }
    }
Exemplo n.º 2
0
    public bool Contains(uint in_EnvID)
    {
        if (m_Buffer == IntPtr.Zero)
        {
            return(false);
        }

        for (int i = 0; i < m_Count; i++)
        {
            if (AkSoundEnginePINVOKE.CSharp_AkAuxSendValueProxy_IsSame(GetObjectPtr(i), AkSoundEngine.AK_INVALID_GAME_OBJECT, in_EnvID))
            {
                return(true);
            }
        }

        return(false);
    }
Exemplo n.º 3
0
    public bool Contains(UnityEngine.GameObject in_listenerGameObj, uint in_EnvID)
    {
        if (m_Buffer == IntPtr.Zero)
        {
            return(false);
        }

        for (int i = 0; i < m_Count; i++)
        {
            if (AkSoundEnginePINVOKE.CSharp_AkAuxSendValueProxy_IsSame(GetObjectPtr(i), AkSoundEngine.GetAkGameObjectID(in_listenerGameObj), in_EnvID))
            {
                return(true);
            }
        }

        return(false);
    }