ScriptData interface
Attach an identifier or a tag to a component, so that it can be easily accessed in the ComponentManager.byId() or ComponentManager.byTag() methods
Signature:
export interface ScriptData Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(Optional) Identifier for the script, can be used to access the script in the ComponentManager.byId() method | ||
|
string |
(Optional) Tag for the script, can be used to access the script in the ComponentManager.byTag() method |