Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

isEditorAssetIs this asset used to localize UI components of the Unity Editor
localeIsoCodeISO Code used to identify the locale. ex: en-uk, zh-hans, ja

Methods

Method

Description

GetLocalizedStringGet the localized string for the specified key.
SetLocalizedStringSet the localized string for the specified key

Inheritance

Inherited Members

Operators

Operator

Description

operator ==Compares two object references to see if they refer to the same object.
boolDetermines whether the object exists.
operator !=Compares if two objects refer to a different object.