|
|
@ -41,6 +41,12 @@ namespace Fungus |
|
|
|
[Tooltip("The currently selected language in the string table. Affects variable substitution.")] |
|
|
|
[Tooltip("The currently selected language in the string table. Affects variable substitution.")] |
|
|
|
[SerializeField] protected string activeLanguage = "en"; |
|
|
|
[SerializeField] protected string activeLanguage = "en"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
|
|
|
|
/// Gets or sets the active language. |
|
|
|
|
|
|
|
/// </summary> |
|
|
|
|
|
|
|
/// <value>The active language.</value> |
|
|
|
|
|
|
|
public string ActiveLanguage { get { return activeLanguage; } set { activeLanguage = value; } } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// <summary> |
|
|
|
/// Lua script file which defines the global string table used for localisation. |
|
|
|
/// Lua script file which defines the global string table used for localisation. |
|
|
|
/// </summary> |
|
|
|
/// </summary> |
|
|
|