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.
Inherited Members
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)