LocalizationAsset
An asset to represent a table of localized strings for one specific locale.
Read time 4 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.LocalizationModule
- Inherits from: Object
public sealed class LocalizationAsset : Object
Constructors
Constructor | Description |
|---|---|
| LocalizationAsset() | Creates a new empty LocalizationAsset object. |
Properties
Property | Description |
|---|---|
| isEditorAsset | Is this asset used to localize UI components of the Unity Editor |
| localeIsoCode | ISO Code used to identify the locale. ex: en-uk, zh-hans, ja |
Methods
Method | Description |
|---|---|
| GetLocalizedString | Get the localized string for the specified key. |
| SetLocalizedString | Set the localized string for the specified key |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |