docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CustomPluralRuleProvider

    Use this class to provide custom plural rules to Smart.Format

    Inheritance
    object
    CustomPluralRuleProvider
    Namespace: UnityEngine.Localization.SmartFormat.Extensions
    Assembly: Unity.Localization.dll
    Syntax
    public class CustomPluralRuleProvider

    Constructors

    Name Description
    CustomPluralRuleProvider(PluralRuleDelegate)

    Creates a new instance of the plural rule provider.

    Methods

    Name Description
    GetFormat(Type)

    Returns the formatter when formatType is CustomPluralRuleProvider, otherwise returns null.

    GetPluralRule()

    Returns the custom plural rule delegate.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)