EditorGUILayout.PrefixLabel(newGUIContent("Register Types","Text files which list the CLR types that should be registered with this Lua environment."));
registerTypeList.DoLayoutList();
EditorGUILayout.PrefixLabel(newGUIContent("String Tables","A list of JSON files containing localised strings. These strings are loaded into a 'stringtable' global variable."));
stringTablesList.DoLayoutList();
EditorGUILayout.PrefixLabel(newGUIContent("Register Types","Text files which list the CLR types that should be registered with this Lua environment."));
/// Lua script file which defines the global string table used for localisation.
/// </summary>
[Tooltip("Lua script file which defines the global string table used for localisation.")]
publicTextAssetstringTable;
/// <summary>
/// The currently selected language in the string table. Affects variable substitution.
/// </summary>
@ -50,10 +44,18 @@ namespace Fungus
[Tooltip("Time scale factor to apply when running Lua scripts. If negative then uses the same values as the standard Time class.")]
publicfloattimeScale=-1f;
/// <summary>
/// Lua script file which defines the global string table used for localisation.
/// </summary>
[HideInInspector]
[Tooltip("List of JSON text files which contain localized strings. These strings are added to the 'stringTable' table in the Lua environment at startup.")]