TatCustomScripter.AddComponent Method
Registers the component specified by AComp to be accessible from all scripts. The component will be accessible by its name. Published properties of component will also be automatically available for reading/writing.
Syntax
Unit: atScript
procedure TatCustomScripter.AddComponent(AComp: TComponent);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| AComp | TComponent |