Class LocalizeTextureBehaviour | Localization | 0.5.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class LocalizeTextureBehaviour

    Component that can be used to Localize a Texture asset. Provides an update event that can be used to automatically update the texture whenever the Locale changes.

    Inheritance
    Object
    LocalizedAssetBehaviour<Texture>
    LocalizeTextureBehaviour
    Inherited Members
    LocalizedAssetBehaviour<Texture>.AssetReference
    LocalizedAssetBehaviour<Texture>.OnEnable()
    LocalizedAssetBehaviour<Texture>.OnDisable()
    Namespace: UnityEngine.Localization.Components
    Syntax
    public class LocalizeTextureBehaviour : LocalizedAssetBehaviour<Texture>

    Properties

    OnUpdateAsset

    Event that will be sent when the localized texture is ready.

    Declaration
    public LocalizeTextureBehaviour.UnityEventTexture OnUpdateAsset { get; set; }
    Property Value
    Type Description
    LocalizeTextureBehaviour.UnityEventTexture

    Methods

    UpdateAsset(Texture)

    Invokes the OnUpdateAsset event.

    Declaration
    protected override void UpdateAsset(Texture localizedAsset)
    Parameters
    Type Name Description
    Texture localizedAsset
    Overrides
    UnityEngine.Localization.Components.LocalizedAssetBehaviour<Texture>.UpdateAsset(Texture)
    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