/// <summary>
    /// Set game's language based on Application's language.
    /// </summary>
    public void CheckLanguageAndCode()
    {
        string appLanguage = Application.systemLanguage.ToString();

        Language language;

        if (!CheckAssets())
        {
            return;
        }

        //Check if application name is supported
        if (languageManager.ContainsLanguage(appLanguage))
        {
            language = languageManager.GetLanguageByName(appLanguage);
        }
        //Otherwise set it to main language
        else
        {
            language = languageManager.MainLanguage;
        }

        SetLanguage(language.code);
    }