ドキュメント

Unity Engine

Unity Engine

PluralRules

Maps two-letter ISO language codes to their pluralization rules. PluralRules are used by extensions like TimeFormatter and PluralLocalizationFormatter.
読み終わるまでの所要時間 1 分最終更新 19日前

Definition

public static class PluralRules

Static Properties

Property

Description

IsoLangToDelegateMapping of each two-letter ISO language code to its PluralRules.PluralRuleDelegate.

Static Methods

Method

Description

GetPluralRuleGets the pluralization rule for the specified language code.
RestoreDefaultRestores the built-in pluralization rule for every language.

Delegates

Delegate

Description

PluralRules.PluralRuleDelegateDetermines which singular or plural word to use for a given quantity. This allows each language to define its own behavior for singular or plural words.