Classes | |
class | CSVManager |
Static utility class for importing and exporting localized data from and to CSV files. More... | |
class | LocalizationConfig |
Global configuration asset that defines the list of supported languages for localization. More... | |
class | LocalizationManagerEditor |
class | LocalizationSettings |
class | LocalizedAudio |
Automatically updates the AudioSource's clip with a localized AudioClip from the LocalizationManager. More... | |
class | LocalizedAudioClip |
Represents an audio clip localized by language, either through direct assignment or via a global key. More... | |
class | LocalizedAudioClipDrawer |
class | LocalizedAudioClipsData |
ScriptableObject that stores a list of localized audio clip entries. More... | |
class | LocalizedAudioClipsDataEditor |
class | LocalizedImage |
Automatically updates a UI Image component with a localized sprite from the LocalizationManager. More... | |
class | LocalizedMaterial |
Automatically updates the main texture of a material using a localized texture from the LocalizationManager based on the current language. More... | |
class | LocalizedRawImage |
Automatically updates a UI RawImage component with a localized texture from the LocalizationManager, based on the current language. More... | |
class | LocalizedSprite |
Represents a sprite localized by language, either through direct assignment or via a global key. More... | |
class | LocalizedSpriteDrawer |
class | LocalizedSpriteRenderer |
Automatically updates a SpriteRenderer component with a localized sprite from the LocalizationManager based on the current language. More... | |
class | LocalizedSpritesData |
ScriptableObject that stores a list of localized sprite entries. More... | |
class | LocalizedSpritesDataEditor |
class | LocalizedString |
class | LocalizedStringDrawer |
class | LocalizedStringsData |
ScriptableObject that stores a list of localized text entries. More... | |
class | LocalizedStringsDataEditor |
class | LocalizedText |
Automatically updates a legacy UnityEngine.UI.Text component with a localized string. More... | |
class | LocalizedTexture |
Represents a texture localized by language, either through a global key or direct per-language assignment. More... | |
class | LocalizedTextureDrawer |
class | LocalizedTexturesData |
ScriptableObject that stores a list of localized texture entries. More... | |
class | LocalizedTexturesDataEditor |
class | LocalizedTMP_Text |
Automatically updates a TMP_Text component with a localized string from the LocalizationManager, based on the current language. More... | |
Enumerations | |
enum | LocalizationDataType { Strings , Sprites , Textures , AudioClips } |
Functions | |
void | Awake () |
static List< string > | GetAllKeys (LocalizationDataType type) |
static void | InvalidateKeyCache () |
void | SetLanguage (string language) |
bool | TryGetLocalizedString (string key, out string localizedString) |
string | GetLocalizedStringValue (string key) |
bool | TryGetLocalizedSprite (string key, out Sprite localizedSprite) |
Sprite | GetLocalizedSpriteValue (string key) |
bool | TryGetLocalizedTexture (string key, out Texture localizedTexture) |
Texture | GetLocalizedTextureValue (string key) |
bool | TryGetLocalizedAudioClip (string key, out AudioClip localizedAudioClip) |
AudioClip | GetLocalizedAudioClipValue (string key) |
Variables | |
enum Backbone::LocalizationDataType | MonoBehaviour |
enum Backbone::LocalizationDataType | OnLanguageChanged |
string | currentLanguage = "English" |
List< LocalizedStringsData > | localizedStringDataList = new List<LocalizedStringsData>() |
List< LocalizedSpritesData > | localizedSpriteDataList = new List<LocalizedSpritesData>() |
List< LocalizedTexturesData > | localizedTextureDataList = new List<LocalizedTexturesData>() |
List< LocalizedAudioClipsData > | localizedAudioClipDataList = new List<LocalizedAudioClipsData>() |
static LocalizationManager | instance |
static readonly Dictionary< LocalizationDataType, List< string > > | keyCache = new() |
Backbone::LocalizedAudioClipsData | key |
Represents a single entry of localized audio clip data associated with a unique key. | |
LocalizedAudioClip | localizedAudioClip |
The localized audio clip values, defined per language or resolved via key. | |
LocalizedSprite | localizedSprite |
The localized sprite values, either assigned per language or fetched via the key. | |
LocalizedString | localizedString |
The localized string, either with inline values or resolved through LocalizationManager. | |
LocalizedTexture | localizedTexture |
The localized texture values, either assigned per language or fetched via the key. | |
|
private |
|
static |
AudioClip Backbone::GetLocalizedAudioClipValue | ( | string | key | ) |
Sprite Backbone::GetLocalizedSpriteValue | ( | string | key | ) |
string Backbone::GetLocalizedStringValue | ( | string | key | ) |
Texture Backbone::GetLocalizedTextureValue | ( | string | key | ) |
|
static |
void Backbone::SetLanguage | ( | string | language | ) |
bool Backbone::TryGetLocalizedAudioClip | ( | string | key, |
out AudioClip | localizedAudioClip ) |
bool Backbone::TryGetLocalizedSprite | ( | string | key, |
out Sprite | localizedSprite ) |
bool Backbone::TryGetLocalizedString | ( | string | key, |
out string | localizedString ) |
bool Backbone::TryGetLocalizedTexture | ( | string | key, |
out Texture | localizedTexture ) |
string Backbone::currentLanguage = "English" |
|
static |
Backbone::LocalizedTexturesData Backbone::key |
Represents a single entry of localized audio clip data associated with a unique key.
A single entry containing a key and its associated LocalizedTexture.
Represents a single localized string entry. The key
is used to reference the string, and localizedString
holds language-specific values either inline or resolved via key.
A single entry containing a key and its associated LocalizedSprite.
Unique identifier for the audio clip (e.g., "dialogue.chapter1.start").
Unique key to identify the localized sprite (e.g., "game.logo").
Unique identifier for this string (e.g., "ui.button.exit").
Unique key to identify the localized texture (e.g., "game.menu.bg").
|
staticprivate |
LocalizedAudioClip Backbone::localizedAudioClip |
The localized audio clip values, defined per language or resolved via key.
|
private |
LocalizedSprite Backbone::localizedSprite |
The localized sprite values, either assigned per language or fetched via the key.
|
private |
LocalizedString Backbone::localizedString |
The localized string, either with inline values or resolved through LocalizationManager.
|
private |
LocalizedTexture Backbone::localizedTexture |
The localized texture values, either assigned per language or fetched via the key.
|
private |
enum Backbone::LocalizationDataType Backbone::MonoBehaviour |
enum Backbone::LocalizationDataType Backbone::OnLanguageChanged |