18 lines
385 B
TypeScript
18 lines
385 B
TypeScript
import { _decorator, Component, Node } from 'cc';
|
|
import {characters} from "db://assets/Scripts/test/cfg/characters";
|
|
const { ccclass, property } = _decorator;
|
|
|
|
@ccclass('GirlListPanel')
|
|
export class GirlListPanel extends Component {
|
|
onEnable()
|
|
{
|
|
const cfg = characters;
|
|
for (let i = 0; i < cfg.length; i++) {
|
|
const c = cfg[i];
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
|