cc.Class({ extends: cc.Component, properties: { m_WeaveCtrlPrefab:cc.Prefab, m_OperateLayout:cc.Layout, m_TingTip:cc.Layout, m_TingItemPrefab:cc.Prefab, }, // use this for initialization onLoad: function () { this.m_TingTip.node.active = false; }, ctor: function(){ this.bFirst = false; this.WeaveCtrl = new Array(); this.OptCount = 0; this.m_TingTipData = new Array(); this.chiCount = 0 ; this.WeaveChies = new Array(); }, SetWeaveInfo:function(WeaveInfo,cbWeaveCount){ this.cbWeaveCount = cbWeaveCount; this.WeaveInfo = WeaveInfo; this.chiCount = 0; this.WeaveChies.length = 0; // var bHu = false; // for(var i=0;i