CocosCreator-Shader-Effect-.../assets/scripts/LoadingStyleEffect1Scene.ts

10 lines
225 B
TypeScript
Raw Permalink Normal View History

const { ccclass, property } = cc._decorator;
@ccclass
export default class LoadingStyleEffect1Scene extends cc.Component {
onLoad() {
// 关闭动态合图
cc.dynamicAtlasManager.enabled = false;
}
}