TatScript.UnitName Property
Gets or sets the unit name used to identify this script as a script-based library in uses clauses.
Remarks
UnitName is used for script-based libraries. If a script adds "uses UNIT", the compiler searches for files named "UNIT", and also for scripts inside Scripts collection which UnitName matches "UNIT". There is UnitName property in both TatScript and TatScriptInfo classes. Both are used for the same purpose, the difference is that TatScriptInfo.UnitName is only filled after script is compiled, and it's also saved with compiled code. So, you must set TatScript.UnitName if you want the unit to be found *before* it's compiled. See TatCustomScripter.LoadLibrary for more info on libraries.
Syntax
Unit: atScript
property TatScript.UnitName: string