This commit is contained in:
spe
2024-01-19 11:35:46 +08:00
parent ba2b8f4a83
commit cfa4631e91
29 changed files with 2980 additions and 70 deletions

View File

@@ -0,0 +1,11 @@
import { _decorator, Component, Node } from 'cc';
const { ccclass, property, menu } = _decorator;
@ccclass('LevelRender')
@menu("性能优化/LevelRender")
export class LevelRender extends Component {
onLoad() {
this.node[`__enableLevelRender`] = true;
}
}