Beispiel #1
0
    private void GetVCAs()
    {
        musicVCA = RuntimeManager.GetVCA("vca:/Music");

        if (!musicVCA.isValid())
        {
            if (Debug.isDebugBuild)
            {
                Debug.Log("Could not get music vca. Path wrong?");
            }
        }

        sfxVCA = RuntimeManager.GetVCA("vca:/SFX");

        if (!sfxVCA.isValid())
        {
            if (Debug.isDebugBuild)
            {
                Debug.Log("Could not get sfx vca. Path wrong?");
            }
        }
    }