<pc-scripts>
The <pc-scripts> tag is used to define a scripts component.
Usage
- It must be a direct child of a
<pc-entity>. - It can have 0..n
<pc-script>children.
Attributes
| Attribute | Type | Default | Description |
|---|---|---|---|
enabled | Boolean | "true" | Enabled state of the component |
Example
<pc-entity>
<pc-scripts>
<pc-script name="myScript"></pc-script>
</pc-scripts>
</pc-entity>
JavaScript Interface
You can programmatically create and manipulate <pc-scripts> elements using the ScriptComponentElement API.