/// <summary> /// Returns a prefab in the current language for the key with a custom plural form. Returns null if nothing is found. /// </summary> /// <returns>The prefab.</returns> public GameObject GetPrefab(string key, int count, Func <int, int> pluralForm) { return(GetPrefab(PluralForms.GetPluralKey(key, count, pluralForm))); }
/// <summary> /// Returns a texture in the current language for the key with a custom plural form. Returns null if nothing is found. /// </summary> /// <returns>The texture.</returns> public Texture GetTexture(string key, int count, Func <int, int> pluralForm) { return(GetTexture(PluralForms.GetPluralKey(key, count, pluralForm))); }
/// <summary> /// Returns an audio clip in the current language for the key with a custom plural form. Returns null if nothing is found. /// </summary> /// <returns>The audio clip.</returns> public AudioClip GetAudioClip(string key, int count, Func <int, int> pluralForm) { return(GetAudioClip(PluralForms.GetPluralKey(key, count, pluralForm))); }
/// <summary> /// Returns a font in the current language for the key with a custom plural form. Returns null if nothing is found. /// </summary> /// <returns>The localized font</returns> public Font GetFont(string key, int count, Func <int, int> pluralForm) { return(GetFont(PluralForms.GetPluralKey(key, count, pluralForm))); }
/// <summary> /// Returns a texture in the current language for the key with plural forms. Returns null if nothing is found. /// </summary> /// <returns>The texture.</returns> public Texture GetTexture(string key, int count) { return(GetTexture(PluralForms.GetPluralKey(languageDataHandler.LoadedCulture.languageCode, key, count))); }
/// <summary> /// Returns a prefab in the current language for the key with plural forms. Returns null if nothing is found. /// </summary> /// <returns>The prefab.</returns> public GameObject GetPrefab(string key, int count) { return(GetPrefab(PluralForms.GetPluralKey(languageDataHandler.LoadedCulture.languageCode, key, count))); }
/// <summary> /// Returns an audio clip in the current language for the key with plural forms. Returns null if nothing is found. /// </summary> /// <returns>The audio clip.</returns> public AudioClip GetAudioClip(string key, int count) { return(GetAudioClip(PluralForms.GetPluralKey(languageDataHandler.LoadedCulture.languageCode, key, count))); }