docs.unity.cn
    Show / Hide Table of Contents

    Class UnityObjectProperty

    Inheritance
    Object
    UnityObjectProperty
    Namespace: UnityEngine.Localization.PropertyVariants.TrackedProperties
    Syntax
    [Serializable]
    public class UnityObjectProperty : ITrackedPropertyValue<Object>, ITrackedProperty, ISerializationCallbackReceiver

    Properties

    PropertyPath

    Declaration
    public string PropertyPath { get; set; }
    Property Value
    Type Description
    String
    Implements
    ITrackedProperty.PropertyPath

    PropertyType

    Declaration
    public Type PropertyType { get; set; }
    Property Value
    Type Description
    Type

    Methods

    GetValue(LocaleIdentifier, LocaleIdentifier, out Object)

    Declaration
    public bool GetValue(LocaleIdentifier localeIdentifier, LocaleIdentifier fallback, out Object foundValue)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier
    LocaleIdentifier fallback
    Object foundValue
    Returns
    Type Description
    Boolean
    Implements
    ITrackedPropertyValue<T>.GetValue(LocaleIdentifier, LocaleIdentifier, out T)

    GetValue(LocaleIdentifier, out Object)

    Declaration
    public bool GetValue(LocaleIdentifier localeIdentifier, out Object foundValue)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier
    Object foundValue
    Returns
    Type Description
    Boolean
    Implements
    ITrackedPropertyValue<T>.GetValue(LocaleIdentifier, out T)

    HasVariant(LocaleIdentifier)

    Declaration
    public bool HasVariant(LocaleIdentifier localeIdentifier)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier
    Returns
    Type Description
    Boolean
    Implements
    ITrackedProperty.HasVariant(LocaleIdentifier)

    RemoveVariant(LocaleIdentifier)

    Declaration
    public void RemoveVariant(LocaleIdentifier localeIdentifier)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier

    SetValue(LocaleIdentifier, Object)

    Declaration
    public void SetValue(LocaleIdentifier localeIdentifier, Object newValue)
    Parameters
    Type Name Description
    LocaleIdentifier localeIdentifier
    Object newValue
    Implements
    ITrackedPropertyValue<T>.SetValue(LocaleIdentifier, T)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use