を使用しようとするとcc.resources.load(arg1, arg2)
、次のエラーが発生します。
Uncaught (in promise) TypeError: Cannot read property 'load' of undefined
私の知る限り、これは組み込みの Cocos Creator クラスであり、ドキュメント自体にはそれを使用するように記載されています。を呼び出そうとすると、コンソールcc.log(cc.resources)
に表示されます。undefined
プロジェクトに「resources」というフォルダーがあり、空ではありません。