GetGameObjectAuxSendValues() public static method

public static GetGameObjectAuxSendValues ( UnityEngine in_gameObjectID, AkAuxSendArray out_paAuxSendValues, uint &io_ruNumSendValues ) : AKRESULT
in_gameObjectID UnityEngine
out_paAuxSendValues AkAuxSendArray
io_ruNumSendValues uint
return AKRESULT
Ejemplo n.º 1
0
    public static void PrintAUXChannelInfo(List <GameObject> G)
    {
        String finalString = "";

        for (int i = 0; i < G.Count; i++)
        {
            AkAuxSendArray AuxArray = new AkAuxSendArray();
            uint           AuxNum   = 99;
            AkSoundEngine.GetGameObjectAuxSendValues(G[i].gameObject, AuxArray, ref AuxNum);
            if (AuxNum != 99)
            {
                finalString = finalString + G[i].name + ": " + AuxNum + ", ";
            }
            else
            {
                Debug.Log("No AUX info on " + G[i].name);
            }
        }
        Debug.Log(finalString);
        // AkSoundEngine.SetGameObjectAuxSendValues(transform.parent.gameObject, asdas, sendval);
    }