import HeadIconScipt from "./HeadIconScipt2"; import MoveTouchScript from "./MoveTouchScript2"; const {ccclass, property} = cc._decorator; @ccclass export default class HeadNodeList extends cc.Component { @property(cc.Node) headNode: cc.Node = null; @property(cc.Node) headNodeContent: cc.Node = null; // LIFE-CYCLE CALLBACKS: // onLoad () {} start () { } setHeadData(headListData, checkNodelist, targetList){ for(let i = 0;i