cocos creator 3.1最新版本,脚本模板有知道在那里改的嘛。

知道的call我

找到引擎安装路径下,修改ts文件

Windows系统 :\CocosDashboard\resources.editors\Creator\3.0.0\resources\resources\3d\engine\editor\assets\default_file_content
macOS系统 /Applications/CocosCreator/Creator/3.0.0/CocosCreator.app/Contents/Resources/resources/3d/engine/editor/assets/default_file_content/ts

自定义 TS 脚本模板 Custom-TS-ScriptTemplate
https://gitee.com/yeshao2069/cocos-creator-how-to-use/tree/v3.0.0/Documents/Custom-TS-ScriptTemplate

4赞

十分感谢,可以啦

该主题在最后一个回复创建后14天后自动关闭。不再允许新的回复。