Exemple #1
0
    public void GetIAudioPathFromLanguageControllerAndChangeClip()
    {
        string newAudioPath = LanguageController.GetAudio(IdOfAudioFile);

        if (newAudioPath.Equals(string.Empty))
        {
            Debug.LogWarning("L_Image | GetSpriteFromLanguageControllerAndPlaceItInImage | Atempted to load a Image entry that is not availible in the language file, is the file up to date?");
        }
        else
        {
            StartCoroutine(LoadAndApplyAudio(newAudioPath));
        }
    }