Script Assets
In Cocos Creator, scripts are also part of the Asset.
For a detailed introduction to scripting, please refer to the Scripting Guide documentation.
For details on the creation and use of script assets, please refer to the Script Creation documentation.