PC-20230316NUNE\Administrator 391ce959cb 提交上阵
2023-11-15 18:38:00 +08:00

36 lines
711 B
TypeScript

import { _decorator, Component, Node } from 'cc';
import { PlayerTacticalItem } from './PlayerTacticalItem';
const { ccclass, property } = _decorator;
/**
* 玩家阵法
*/
@ccclass('PlayerTacticalView')
export class PlayerTacticalView extends Component {
//阵法子节点列表
items:PlayerTacticalItem[] = [];
// onLoad(){
// //阵法
// this.items = this.node.getComponentsInChildren(PlayerTacticalItem);
// this.items.forEach((item,index) => item.onInit(index));
// this.onUpdateView();
// }
// //更新阵法显示
// onUpdateView(){
// this.items.forEach(item => {
// item.onUpdateView();
// })
// }
}