docs.unity3d.com
  • Manual
  • Scripting API
  • Changelog
  • License
    Show / Hide Table of Contents
    • Scripting API

    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)
    In This Article
    • Properties
      • PropertyPath
      • PropertyType
    • Methods
      • GetValue(LocaleIdentifier, LocaleIdentifier, out Object)
      • GetValue(LocaleIdentifier, out Object)
      • HasVariant(LocaleIdentifier)
      • RemoveVariant(LocaleIdentifier)
      • SetValue(LocaleIdentifier, Object)
    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