[add] all

This commit is contained in:
2022-01-13 09:27:08 +08:00
commit 8247d8a88e
79 changed files with 41174 additions and 0 deletions

13
assets/scripts/simple.ts Normal file
View File

@@ -0,0 +1,13 @@
import BaseMain from './baseMain';
const { ccclass, property } = cc._decorator;
@ccclass
export default class Simple extends BaseMain {
async onLoad() {
for (let i = 0; i < 200; i++) {
this.datas.push({ message: i })
}
await this.layout.total(this.datas.length)
}
}