docs.unity3d.com
    Show / Hide Table of Contents

    Class JsonSerializerTrackedObject

    Uses JSON to apply changes to a tracked object. JSON can only be used with MonoBehaviour and ScriptableObject types.

    Inheritance
    Object
    TrackedObject
    JsonSerializerTrackedObject
    TrackedMonoBehaviourObject
    Inherited Members
    TrackedObject.Target
    TrackedObject.TrackedProperties
    TrackedObject.CanTrackProperty(String)
    TrackedObject.AddTrackedProperty<T>(String)
    TrackedObject.RemoveTrackedProperty(ITrackedProperty)
    TrackedObject.GetTrackedProperty<T>(String, Boolean)
    TrackedObject.GetTrackedProperty(String)
    TrackedObject.CreateCustomTrackedProperty(String)
    TrackedObject.PostApplyTrackedProperties()
    Namespace: UnityEngine.Localization.PropertyVariants.TrackedObjects
    Syntax
    [Serializable]
    public abstract class JsonSerializerTrackedObject : TrackedObject, ISerializationCallbackReceiver

    Properties

    UpdateType

    Determines the type of property update that will be performed.

    Declaration
    public JsonSerializerTrackedObject.ApplyChangesMethod UpdateType { get; set; }
    Property Value
    Type Description
    JsonSerializerTrackedObject.ApplyChangesMethod

    Methods

    AddTrackedProperty(ITrackedProperty)

    Declaration
    public override void AddTrackedProperty(ITrackedProperty trackedProperty)
    Parameters
    Type Name Description
    ITrackedProperty trackedProperty
    Overrides
    TrackedObject.AddTrackedProperty(ITrackedProperty)

    ApplyLocale(Locale, Locale)

    Declaration
    public override AsyncOperationHandle ApplyLocale(Locale variantLocale, Locale defaultLocale)
    Parameters
    Type Name Description
    Locale variantLocale
    Locale defaultLocale
    Returns
    Type Description
    AsyncOperationHandle
    Overrides
    TrackedObject.ApplyLocale(Locale, Locale)
    In This Article
    • Properties
      • UpdateType
    • Methods
      • AddTrackedProperty(ITrackedProperty)
      • ApplyLocale(Locale, Locale)
    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