Class PluralFormExample | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    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[]
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023