docs.unity3d.com

Localization 1.5.1

Search Results for

    Show / Hide Table of Contents

    Interface IStringProperty

    Represents a property whose value can be converted from and to a string.

    Inherited Members
    ITrackedProperty.PropertyPath
    ITrackedProperty.HasVariant(LocaleIdentifier)
    Namespace: UnityEngine.Localization.PropertyVariants.TrackedProperties
    Assembly: Unity.Localization.dll
    Syntax
    public interface IStringProperty : ITrackedProperty

    Methods

    Name Description
    GetValueAsString(LocaleIdentifier)

    Returns the value for the LocaleIdentifier as a string representation.

    GetValueAsString(LocaleIdentifier, LocaleIdentifier)

    Returns the value for the LocaleIdentifier as a string representation, uses the fallback if a variant does not exist.

    SetValueFromString(LocaleIdentifier, string)

    Assigns a value for the chosen LocaleIdentifier.

    In This Article
    • Methods
    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)