Scripting API

LocaleIdentifier

struct in UnityEngine.Localization · Unity.Localization

Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix

A locale's code ("en", "pt-BR"), and the culture it names.

Constructors 1

LocaleIdentifier(string code)
LocaleIdentifier(CultureInfo culture)
LocaleIdentifier(SystemLanguage language)

Properties 2

string Code { get; }
CultureInfo? CultureInfo { get; }

Methods 3

bool Equals(LocaleIdentifier other)
bool Equals(object? obj)
int GetHashCode()
string ToString()

Operators 3

static implicit operator LocaleIdentifier(string code)
static implicit operator LocaleIdentifier(CultureInfo culture)
static implicit operator LocaleIdentifier(SystemLanguage language)
static bool operator !=(LocaleIdentifier a, LocaleIdentifier b)
static bool operator ==(LocaleIdentifier a, LocaleIdentifier b)