请问插件scene里面如果调用项目脚本

请问插件scene里面如果调用项目的非Component脚本的静态函数呢。
版本:3.3.2

知道怎么弄了吗? 求教~~

2.x 是 cc.require

3.x 用 ts 写的呢?

直接 import,记得要在 tsconfig include里面添加 assets 目录