Property | Type | Description | |
---|---|---|---|
Instance | |||
Languages | List |
||
OnLocalizationChanged | System.Action | ||
Phrases | List |
||
Translations | LeanTranslation>.Dictionary |
Method | Description | |
---|---|---|
AddLanguage ( string language ) : void | ||
AddPhrase ( string phraseName ) : |
||
AddTranslation ( string language, string phraseName ) : |
||
GetInstance ( ) : |
||
GetTranslation ( string phraseName ) : |
||
GetTranslationObject ( string phraseName ) : Object | ||
GetTranslationText ( string phraseName ) : string | ||
SetLanguage ( string newLanguage ) : void | ||
UpdateTranslations ( ) : void |
Method | Description | |
---|---|---|
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnValidate ( ) : void |
Method | Description | |
---|---|---|
MergeLocalizations ( |
public AddLanguage ( string language ) : void | ||
language | string | |
return | void |
public AddPhrase ( string phraseName ) : |
||
phraseName | string | |
return |
public AddTranslation ( string language, string phraseName ) : |
||
language | string | |
phraseName | string | |
return |
public static GetInstance ( ) : |
||
return |
public static GetTranslation ( string phraseName ) : |
||
phraseName | string | |
return |
public static GetTranslationObject ( string phraseName ) : Object | ||
phraseName | string | |
return | Object |
public static GetTranslationText ( string phraseName ) : string | ||
phraseName | string | |
return | string |
public SetLanguage ( string newLanguage ) : void | ||
newLanguage | string | |
return | void |
public static LeanLocalization,Lean Instance | ||
return |
public static System.Action OnLocalizationChanged | ||
return | System.Action |