-- 扩展Track的一些功能 function cc.BaseTrack:loadFromXmlNode(xmlNode) cc.Track.loadFromXmlNode(self , xmlNode); self:setBindSource(xmlNode.BindSource) self:setBindTarget(xmlNode.BindTarget) if xmlNode.SourceBone then self:setSourceBoneName(xmlNode.SourceBone) end if xmlNode.TargetBone then self:setTargetBoneName(xmlNode.TargetBone) end end