Class PluralFormExample
This example shows how the PluralForm can be used to select the correct plural to display.
Inheritance
System.Object
PluralFormExample
Namespace: UnityEngine.Localization.Samples
Syntax
public class PluralFormExample : MonoBehaviour
Fields
localeCode
Declaration
public string localeCode
Field Value
Type | Description |
---|---|
System.String |
numberOfApples
Declaration
public int numberOfApples
Field Value
Type | Description |
---|---|
System.Int32 |
pluralVersions
Declaration
public string[] pluralVersions
Field Value
Type | Description |
---|---|
System.String[] |